Verified Kaydet (Commit) 82fbdd9c authored tarafından Erdem Ersoy's avatar Erdem Ersoy

Rewrite Flatpak GUI mess (15/X):

* Rewrite/refactor "Uninstall" menu item function

NOTE: There is a problem during refiltering after uninstalling when
      "Show Installed Apps" button is toggled.
üst 1a88e087
......@@ -533,11 +533,8 @@ class MainWindow(object):
arch = tree_model.get_value(tree_iter, 1)
branch = tree_model.get_value(tree_iter, 2)
UninstallWindow(self.Application, real_name,
arch, branch,
self.FlatpakInstallation, self.TreeViewMain,
self.RunMenuItem, self.InstallMenuItem,
UninstallWindow(self.Application, self.FlatpakInstallation, real_name,
arch, branch, tree_model, tree_iter, selection, self.SearchFilter)
def on_install(self, menu_item):
selection = self.TreeViewMain.get_selection()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment