Skip to content

Commit

Permalink
cs_themes: Enable stack switcher when navingating out the theme modul…
Browse files Browse the repository at this point in the history
…es (#12300)
  • Loading branch information
anaximeno authored Aug 12, 2024
1 parent da63f90 commit 79be988
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,11 @@ def set_mode(self, mode, startup=False):

self.sidePage.stack.set_visible_child_full(mode, transition)

def on_navigate_out_of_module(self):
switcher_widget = Gio.Application.get_default().stack_switcher
switcher_widget.set_opacity(1.0)
switcher_widget.set_sensitive(True)

def on_color_button_clicked(self, button, variant):
print("Color button clicked")
self.activate_variant(variant)
Expand Down

0 comments on commit 79be988

Please sign in to comment.