summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--portato/gui/gtk/windows.py5
1 files changed, 4 insertions, 1 deletions
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):