From 60f1e4d9191a3bc046bf5659c57ed98df5ebb888 Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Fri, 7 Mar 2008 16:57:14 +0100 Subject: Small changes --- portato/gui/gtk/windows.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'portato/gui/gtk/windows.py') diff --git a/portato/gui/gtk/windows.py b/portato/gui/gtk/windows.py index 7036ecb..50acdb8 100644 --- a/portato/gui/gtk/windows.py +++ b/portato/gui/gtk/windows.py @@ -589,7 +589,9 @@ class PackageTable: self.linkBox.add(link) # useflags - flags = ", ".join(itertools.ifilterfalse(pkg.use_expanded, pkg.get_iuse_flags())) + flaglist = list(itertools.ifilterfalse(pkg.use_expanded, pkg.get_iuse_flags())) + flaglist.sort() + flags = ", ".join(flaglist) if flags: self.useFlagsLL.show() @@ -866,6 +868,7 @@ class PackageTable: else: self.unmergeBtn.set_sensitive(True) + self.vb.show_all() return True def cb_button_pressed (self, b, event): -- cgit v1.2.3-70-g09d2