diff --git a/src/remotes_window.py b/src/remotes_window.py index 8e154b9..4f2de01 100644 --- a/src/remotes_window.py +++ b/src/remotes_window.py @@ -22,7 +22,6 @@ class RemotesWindow(Adw.Window): show_disabled_button = Gtk.Template.Child() show_disabled_button_button_content = Gtk.Template.Child() show_disabled = False - # progress_bar = Gtk.Template.Child() rows_in_list = [] rows_in_popular_list = [] @@ -193,7 +192,7 @@ class RemotesWindow(Adw.Window): settings = Gio.Settings.new("io.github.flattool.Warehouse.filter") for key in settings.list_keys(): settings.reset(key) - settings.set_string("remotes-list", remote) + settings.set_string("remotes-list", f"{remote}<>{type}") self.main_window.apply_filter() self.close() diff --git a/src/window.py b/src/window.py index dbf3ba4..05cd3d9 100644 --- a/src/window.py +++ b/src/window.py @@ -368,6 +368,7 @@ class WarehouseWindow(Adw.ApplicationWindow): remotes_list = settings.get_string("remotes-list").split(",") runtimes_list = settings.get_string("runtimes-list").split(",") total_visible = 0 + print(settings.get_string("remotes-list")) i = 0 while self.flatpaks_list_box.get_row_at_index(i) != None: current = self.flatpaks_list_box.get_row_at_index(i)