|
|
@ -38,6 +38,10 @@ class VanillaLayoutApplications(Adw.Bin):
|
|
|
|
|
|
|
|
|
|
|
|
# signals
|
|
|
|
# signals
|
|
|
|
self.btn_next.connect("clicked", self.__next_step)
|
|
|
|
self.btn_next.connect("clicked", self.__next_step)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
|
|
|
def step_id(self):
|
|
|
|
|
|
|
|
return self.__key
|
|
|
|
|
|
|
|
|
|
|
|
def __build_ui(self):
|
|
|
|
def __build_ui(self):
|
|
|
|
self.status_page.set_icon_name(self.__step["icon"])
|
|
|
|
self.status_page.set_icon_name(self.__step["icon"])
|
|
|
@ -46,13 +50,13 @@ class VanillaLayoutApplications(Adw.Bin):
|
|
|
|
selection_dialogs = []
|
|
|
|
selection_dialogs = []
|
|
|
|
|
|
|
|
|
|
|
|
def present_customize(widget, dialog):
|
|
|
|
def present_customize(widget, dialog):
|
|
|
|
dialog.show()
|
|
|
|
dialog.show()
|
|
|
|
|
|
|
|
print(self.__window.builder.get_temp_finals("packages"))
|
|
|
|
|
|
|
|
|
|
|
|
def close_customize(widget, dialog):
|
|
|
|
def close_customize(widget, dialog):
|
|
|
|
dialog.hide()
|
|
|
|
dialog.hide()
|
|
|
|
|
|
|
|
|
|
|
|
for item in self.__step["bundles"]:
|
|
|
|
for item in self.__step["bundles"]:
|
|
|
|
|
|
|
|
|
|
|
|
_selection_dialog = VanillaDialog(
|
|
|
|
_selection_dialog = VanillaDialog(
|
|
|
|
self.__window,
|
|
|
|
self.__window,
|
|
|
|
"Select Applications",
|
|
|
|
"Select Applications",
|
|
|
@ -104,8 +108,8 @@ class VanillaLayoutApplications(Adw.Bin):
|
|
|
|
|
|
|
|
|
|
|
|
for app in item["applications"]:
|
|
|
|
for app in item["applications"]:
|
|
|
|
_apps_action_row = Adw.ActionRow(
|
|
|
|
_apps_action_row = Adw.ActionRow(
|
|
|
|
title=app["name"],
|
|
|
|
title=app["name"],
|
|
|
|
icon_name=app["icon"]
|
|
|
|
icon_name=app["icon"]
|
|
|
|
)
|
|
|
|
)
|
|
|
|
_app_switcher = Gtk.Switch()
|
|
|
|
_app_switcher = Gtk.Switch()
|
|
|
|
_app_switcher.set_active(True)
|
|
|
|
_app_switcher.set_active(True)
|
|
|
|