From 5ae4fda6f6fdcc8a21253dd6dc9d6051c99af34f Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Mon, 5 Oct 2009 14:37:19 +0200 Subject: First quick hack to have a world list --- portato/gui/windows/main.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'portato/gui/windows/main.py') diff --git a/portato/gui/windows/main.py b/portato/gui/windows/main.py index 1b67747..c99790c 100644 --- a/portato/gui/windows/main.py +++ b/portato/gui/windows/main.py @@ -50,7 +50,7 @@ from .about import AboutWindow from .plugin import PluginWindow from .preference import PreferenceWindow from .search import SearchWindow -from .update import UpdateWindow +from .update import UpdateWindow, WorldListWindow class PackageTable: """A window with data about a specfic package.""" @@ -1624,6 +1624,13 @@ class MainWindow (Window): GtkThread(name="Show Updates Thread", target = __update).start() return True + def cb_show_world_clicked (self, *args): + """ + Show the list of world packages. + """ + WorldListWindow(self.window, system.find_packages(pkgSet = "world"), self.queue, self.jump_to) + return True + def cb_show_installed_toggled (self, *args): """ Toggle the "show only installed" option. -- cgit v1.2.3-70-g09d2