Initial work splitting orphans window into file

This commit is contained in:
heliguy
2023-09-07 13:26:45 -04:00
parent 5127917fd6
commit b647a2ce58
3 changed files with 234 additions and 252 deletions

View File

@@ -26,6 +26,7 @@ gi.require_version('Adw', '1')
from gi.repository import Gtk, Gio, Adw, GLib
from .window import FlattoolGuiWindow
from .orphans_window import OrphansWindow
class FlattoolGuiApplication(Adw.Application):
@@ -61,7 +62,7 @@ class FlattoolGuiApplication(Adw.Application):
self.props.active_window.batch_select_all_handler(select_button)
def manage_data_shortcut(self, widget, _):
self.props.active_window.orphans_window()
OrphansWindow(self.props.active_window)
def refresh_list_shortcut(self, widget, _):
self.props.active_window.refresh_list_of_flatpaks(widget, True)