diff --git a/src/gtk/help-overlay.blp b/src/gtk/help-overlay.blp index a3fa83e..d21896a 100644 --- a/src/gtk/help-overlay.blp +++ b/src/gtk/help-overlay.blp @@ -5,7 +5,7 @@ ShortcutsWindow help_overlay { ShortcutsSection { section-name: "shortcuts"; - max-height: 8; + // max-height: 8; ShortcutsGroup { title: C_("shortcut window", "App Management"); @@ -29,11 +29,6 @@ ShortcutsWindow help_overlay { title: C_("shortcut window", "Toggle Selection Mode"); action-name: "app.toggle-batch-mode"; } - - ShortcutsShortcut { - title: C_("shortcut window", "Select All Apps"); - action-name: "app.select-all-in-batch-mode"; - } } ShortcutsGroup { title: C_("shortcut window", "More Functions"); diff --git a/src/main.py b/src/main.py index b5d22d1..8c3c070 100644 --- a/src/main.py +++ b/src/main.py @@ -44,7 +44,6 @@ class WarehouseApplication(Adw.Application): self.create_action("search", self.on_search_action, ["f"]) self.create_action("manage-data-folders", self.manage_data_shortcut) self.create_action("toggle-batch-mode", self.batch_mode_shortcut, ["b", "Return"]) - self.create_action("select-all-in-batch-mode", self.select_all_shortcut, ["a"]) self.create_action("manage-data-folders", self.manage_data_shortcut, ["d"]) self.create_action("refresh-list", self.refresh_list_shortcut, ["r", "F5"]) self.create_action("show-remotes-window", self.show_remotes_shortcut, ["m"]) @@ -56,13 +55,6 @@ class WarehouseApplication(Adw.Application): button = self.props.active_window.batch_mode_button button.set_active(not button.get_active()) - def select_all_shortcut(self, widget, _): - batch_button = self.props.active_window.batch_mode_button - batch_button.set_active(True) - select_button = self.props.active_window.batch_select_all_button - select_button.set_active(not select_button.get_active()) - self.props.active_window.batchSelectAllHandler(select_button) - def manage_data_shortcut(self, widget, _): OrphansWindow(self.props.active_window).present()