diff --git a/src/window.blp b/src/window.blp index a6ebc25..a23b1c2 100644 --- a/src/window.blp +++ b/src/window.blp @@ -86,7 +86,7 @@ template FlattoolGuiWindow : Adw.ApplicationWindow { [end] Button batch_copy_button { icon-name: "edit-copy-symbolic"; - label: _("Copy"); + label: _("Copy App ID"); tooltip-text: _("Copy Selected Flatpaks' IDs Seperated by a New Line"); } } diff --git a/src/window.py b/src/window.py index af2fddf..0a9ef55 100644 --- a/src/window.py +++ b/src/window.py @@ -598,6 +598,9 @@ class FlattoolGuiWindow(Adw.ApplicationWindow): dialog.set_response_appearance("continue", Adw.ResponseAppearance.DESTRUCTIVE) dialog.connect("response", self.on_batch_clean_response, dialog.choose_finish) Gtk.Window.present(dialog) + + def batch_select_all_handler(self, widget): + print("all") def flatpak_row_select_handler(self, tickbox, index): if tickbox.get_active(): @@ -627,4 +630,5 @@ class FlattoolGuiWindow(Adw.ApplicationWindow): self.batch_clean_button.add_css_class("destructive-action") self.batch_uninstall_button.add_css_class("destructive-action") + self.batch_select_all_button.connect("clicked", self.batch_select_all_handler) self.batch_actions_enable(False) \ No newline at end of file