diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2009-10-05 15:30:57 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2009-10-05 15:30:57 +0200 |
commit | 63cdb7c521133a9d621f9407c4c956e995018ddd (patch) | |
tree | 5912ab8cd671cf415c7b243348e4c8901a957092 /portato/gui/windows/main.py | |
parent | ce9f4821e2238ca2961002ad3f872e8432267ee2 (diff) | |
download | portato-63cdb7c521133a9d621f9407c4c956e995018ddd.tar.gz portato-63cdb7c521133a9d621f9407c4c956e995018ddd.tar.bz2 portato-63cdb7c521133a9d621f9407c4c956e995018ddd.zip |
Now have it the sorted way in PkgLists
Diffstat (limited to '')
-rw-r--r-- | portato/gui/windows/main.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/portato/gui/windows/main.py b/portato/gui/windows/main.py index 5935423..5a149f8 100644 --- a/portato/gui/windows/main.py +++ b/portato/gui/windows/main.py @@ -1626,14 +1626,20 @@ class MainWindow (Window): Show the list of updateble packages. """ - self.show_package_list(system.get_updated_packages, UpdateWindow, "Show Updates Thread") + self.show_package_list( + lambda: (x.get_cpv() for x in system.get_updated_packages()), + UpdateWindow, "Show Updates Thread") + return True def cb_show_world_clicked (self, *args): """ Show the list of world packages. """ - self.show_package_list(lambda: system.find_packages(pkgSet = "world", only_cpv = True), WorldListWindow) + self.show_package_list( + lambda: system.find_packages(pkgSet = "world", only_cpv = True), + WorldListWindow) + return True def cb_show_installed_toggled (self, *args): |