diff --git a/app/ui/main_app_window.py b/app/ui/main_app_window.py index 25afc68c..689930c4 100644 --- a/app/ui/main_app_window.py +++ b/app/ui/main_app_window.py @@ -108,6 +108,8 @@ class MainAppWindow: "on_reference_picon": self.on_reference_picon, "on_filter_toggled": self.on_filter_toggled, "on_search_toggled": self.on_search_toggled, + "on_search_down": self.on_search_down, + "on_search_up": self.on_search_up, "on_search": self.on_search, "on_service_edit": self.on_service_edit} @@ -897,6 +899,12 @@ class MainAppWindow: def on_search_toggled(self, toggle_button: Gtk.ToggleToolButton): self.__search_info_bar.set_visible(toggle_button.get_active()) + def on_search_down(self, item): + show_dialog(DialogType.ERROR, transient=self.__main_window, text="Not implemented yet!") + + def on_search_up(self, item): + show_dialog(DialogType.ERROR, transient=self.__main_window, text="Not implemented yet!") + @run_idle def on_search(self, entry, event): search(entry.get_text(), diff --git a/app/ui/main_window.glade b/app/ui/main_window.glade index 48d3a23a..b80b0dfd 100644 --- a/app/ui/main_window.glade +++ b/app/ui/main_window.glade @@ -1193,14 +1193,65 @@ - - 200 + True - True - edit-find-symbolic - False - False - + False + + + 200 + True + True + edit-find-symbolic + False + False + + + + False + True + 0 + + + + + True + True + True + + + + True + False + down + + + + + False + False + 1 + + + + + True + True + True + + + + True + False + up + + + + + False + False + 2 + + False diff --git a/app/ui/picons_dialog.py b/app/ui/picons_dialog.py index fd3f7989..b75d1f6b 100644 --- a/app/ui/picons_dialog.py +++ b/app/ui/picons_dialog.py @@ -245,6 +245,7 @@ class PiconsDialog: save_path = self._save_to_button.get_filename() if not picons_path or not save_path: show_dialog(DialogType.ERROR, transient=self._dialog, text="Select paths!") + return self._expander.set_expanded(True) convert_to(src_path=picons_path,