summaryrefslogtreecommitdiff
path: root/portato/gui/windows/main.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-10-05 15:30:57 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-10-05 15:30:57 +0200
commit63cdb7c521133a9d621f9407c4c956e995018ddd (patch)
tree5912ab8cd671cf415c7b243348e4c8901a957092 /portato/gui/windows/main.py
parentce9f4821e2238ca2961002ad3f872e8432267ee2 (diff)
downloadportato-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.py10
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):