From 28cc51276bddd0bb10f870dab5ec8df5f245d534 Mon Sep 17 00:00:00 2001 From: bionel Date: Sat, 7 Apr 2018 00:38:08 +0300 Subject: drop removable --- src/frontend/gui/sisyphus-gui.py | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'src/frontend') diff --git a/src/frontend/gui/sisyphus-gui.py b/src/frontend/gui/sisyphus-gui.py index 029de40..86ded41 100755 --- a/src/frontend/gui/sisyphus-gui.py +++ b/src/frontend/gui/sisyphus-gui.py @@ -32,7 +32,6 @@ class Sisyphus(QtWidgets.QMainWindow): ('All Packages', 'all'), ('Installed Packages', 'installed'), ('Installable Packages', 'installable'), - ('Safely Removable Packages', 'removable'), ('Upgradable/Rebuilt Packages', 'upgradable') ]) self.databaseFilter.addItems(self.filterDatabases.keys()) @@ -186,24 +185,6 @@ class Sisyphus(QtWidgets.QMainWindow): WHERE %s LIKE %s %s AND iv IS NULL ''' % (Sisyphus.applicationView, Sisyphus.searchTerm, noVirtual)), - ('removable', '''SELECT - i.category AS cat, - i.name AS pn, - a.version AS av, - i.version AS iv, - d.description AS descr - FROM local_packages AS i - LEFT JOIN remote_packages AS a - ON i.category = a.category - AND i.name = a.name - AND i.slot = a.slot - INNER JOIN removable_packages as rm - ON i.category = rm.category - AND i.name = rm.name - AND i.slot = rm.slot - LEFT JOIN remote_descriptions AS d ON i.name = d.name AND i.category = d.category - WHERE %s LIKE %s %s - ''' % (Sisyphus.applicationView, Sisyphus.searchTerm, noVirtual)), ('upgradable', '''SELECT i.category AS cat, i.name AS pn, -- cgit v1.2.3