animated settings stack transition

This commit is contained in:
Martin Wagner 2021-08-15 23:05:38 +02:00
parent 759a077043
commit 5abb3ec175

View File

@ -1356,7 +1356,7 @@ class SettingsDialog(Gtk.Dialog):
# packing # packing
vbox=self.get_content_area() vbox=self.get_content_area()
if use_csd: if use_csd:
stack=Gtk.Stack() stack=Gtk.Stack(transition_type=Gtk.StackTransitionType.SLIDE_LEFT_RIGHT)
stack.add_titled(view, "view", _("View")) stack.add_titled(view, "view", _("View"))
stack.add_titled(behavior, "behavior", _("Behavior")) stack.add_titled(behavior, "behavior", _("Behavior"))
stack.add_titled(profiles, "profiles", _("Profiles")) stack.add_titled(profiles, "profiles", _("Profiles"))