diff --git a/vanilla_first_setup/defaults/theme.py b/vanilla_first_setup/defaults/theme.py index a2310e1..38f9160 100644 --- a/vanilla_first_setup/defaults/theme.py +++ b/vanilla_first_setup/defaults/theme.py @@ -37,6 +37,10 @@ class VanillaDefaultTheme(Gtk.Box): self.btn_next.connect("clicked", self.__window.next) self.btn_default.connect('toggled', self.__set_theme, "light") self.btn_dark.connect('toggled', self.__set_theme, "dark") + + @property + def step_id(self): + return self.__key def __build_ui(self): self.btn_dark.set_group(self.btn_default) diff --git a/vanilla_first_setup/defaults/welcome.py b/vanilla_first_setup/defaults/welcome.py index 14cbd2a..881f156 100644 --- a/vanilla_first_setup/defaults/welcome.py +++ b/vanilla_first_setup/defaults/welcome.py @@ -79,6 +79,10 @@ class VanillaDefaultWelcome(Adw.Bin): # set distro logo self.status_page.set_icon_name(self.__distro_info["logo"]) + + @property + def step_id(self): + return self.__key def __start_welcome_animation(self): def change_langs(): diff --git a/vanilla_first_setup/layouts/applications.py b/vanilla_first_setup/layouts/applications.py index 69498f4..e408b88 100644 --- a/vanilla_first_setup/layouts/applications.py +++ b/vanilla_first_setup/layouts/applications.py @@ -38,6 +38,10 @@ class VanillaLayoutApplications(Adw.Bin): # signals self.btn_next.connect("clicked", self.__next_step) + + @property + def step_id(self): + return self.__key def __build_ui(self): self.status_page.set_icon_name(self.__step["icon"]) @@ -46,13 +50,13 @@ class VanillaLayoutApplications(Adw.Bin): selection_dialogs = [] def present_customize(widget, dialog): - dialog.show() + dialog.show() + print(self.__window.builder.get_temp_finals("packages")) def close_customize(widget, dialog): dialog.hide() for item in self.__step["bundles"]: - _selection_dialog = VanillaDialog( self.__window, "Select Applications", @@ -104,8 +108,8 @@ class VanillaLayoutApplications(Adw.Bin): for app in item["applications"]: _apps_action_row = Adw.ActionRow( - title=app["name"], - icon_name=app["icon"] + title=app["name"], + icon_name=app["icon"] ) _app_switcher = Gtk.Switch() _app_switcher.set_active(True) diff --git a/vanilla_first_setup/layouts/preferences.py b/vanilla_first_setup/layouts/preferences.py index 57296c6..dc38a0a 100644 --- a/vanilla_first_setup/layouts/preferences.py +++ b/vanilla_first_setup/layouts/preferences.py @@ -38,6 +38,10 @@ class VanillaLayoutPreferences(Adw.Bin): # signals self.btn_next.connect("clicked", self.__next_step) + + @property + def step_id(self): + return self.__key def __build_ui(self): self.status_page.set_icon_name(self.__step["icon"]) diff --git a/vanilla_first_setup/layouts/yes_no.py b/vanilla_first_setup/layouts/yes_no.py index 68aa7fe..11d7526 100644 --- a/vanilla_first_setup/layouts/yes_no.py +++ b/vanilla_first_setup/layouts/yes_no.py @@ -43,6 +43,10 @@ class VanillaLayoutYesNo(Adw.Bin): self.btn_yes.connect("clicked", self.__on_response, True) self.btn_no.connect("clicked", self.__on_response, False) self.btn_info.connect("clicked", self.__on_info) + + @property + def step_id(self): + return self.__key def __build_ui(self): self.status_page.set_icon_name(self.__step["icon"])