mirror of
https://github.com/morgan9e/warehouse
synced 2026-04-14 00:04:08 +09:00
Hide Install from Web & fix filter selection reset
This commit is contained in:
@@ -222,10 +222,10 @@ menu primary_menu {
|
||||
action: "app.show-remotes-window";
|
||||
}
|
||||
|
||||
item {
|
||||
label: _("Install From The Web…");
|
||||
action: "app.open-search-install";
|
||||
}
|
||||
// item {
|
||||
// label: _("Install From The Web…");
|
||||
// action: "app.open-search-install";
|
||||
// }
|
||||
|
||||
item {
|
||||
label: _("_Keyboard Shortcuts");
|
||||
|
||||
12
src/main.py
12
src/main.py
@@ -56,7 +56,7 @@ class WarehouseApplication(Adw.Application):
|
||||
self.create_action("set-filter", self.filters_shortcut, ["<primary>t"])
|
||||
self.create_action("install-from-file", self.install_from_file, ["<primary>o"])
|
||||
self.create_action("open-menu", self.main_menu_shortcut, ["F10"])
|
||||
self.create_action("open-search-install", self.open_search_install, ["<primary>i"])
|
||||
# self.create_action("open-search-install", self.open_search_install, ["<primary>i"])
|
||||
|
||||
gtk_version = str(Gtk.MAJOR_VERSION) + "." + str(Gtk.MINOR_VERSION) + "." + str(Gtk.MICRO_VERSION)
|
||||
adw_version = str(Adw.MAJOR_VERSION) + "." + str(Adw.MINOR_VERSION) + "." + str(Adw.MICRO_VERSION)
|
||||
@@ -142,11 +142,11 @@ class WarehouseApplication(Adw.Application):
|
||||
issue_url='https://github.com/flattool/warehouse/issues')
|
||||
about.add_link(_("Donate"), "https://github.com/flattool/warehouse/issues")
|
||||
about.add_credit_section(_("Contributors"), [
|
||||
# Contributors: do one of the following, one per line: Your Name, Your Name <email@email.org>, Your Name https://websi.te
|
||||
"Win <winsdominoes2018@gmail.com>",
|
||||
"Óscar Fernández Díaz",
|
||||
"Runar https://github.com/runarcn",
|
||||
"skøldis <warehouse@turtle.garden>"
|
||||
# Contributors: do one of the following, one per line: Your Name, Your Name <email@email.org>, Your Name https://websi.te
|
||||
"Win <winsdominoes2018@gmail.com>",
|
||||
"Óscar Fernández Díaz",
|
||||
"Runar https://github.com/runarcn",
|
||||
"skøldis <warehouse@turtle.garden>"
|
||||
])
|
||||
about.present()
|
||||
|
||||
|
||||
@@ -545,6 +545,8 @@ class WarehouseWindow(Adw.ApplicationWindow):
|
||||
filter_remotes_list = filter[3]
|
||||
filter_runtimes_list = filter[4]
|
||||
total_visible = 0
|
||||
self.batch_select_all_button.set_active(False)
|
||||
self.set_select_all(False)
|
||||
|
||||
index = 0
|
||||
while(self.flatpaks_list_box.get_row_at_index(index) != None):
|
||||
@@ -678,8 +680,6 @@ class WarehouseWindow(Adw.ApplicationWindow):
|
||||
self.main_stack.set_visible_child(self.main_box)
|
||||
self.search_button.set_sensitive(True)
|
||||
|
||||
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
super().__init__(**kwargs)
|
||||
self.my_utils = myUtils(self)
|
||||
|
||||
Reference in New Issue
Block a user