summaryrefslogtreecommitdiff
path: root/portato/gui/gtk/windows.py
diff options
context:
space:
mode:
authornecoro <>2007-05-14 19:30:24 +0000
committernecoro <>2007-05-14 19:30:24 +0000
commitfdc8ab4222e781544cba285564b5bb368b9734a1 (patch)
treecae80705cd3a8833343f460143b713bc688aeb73 /portato/gui/gtk/windows.py
parent8b5575f4ecff31de8e23b88dffb63b19ff2d2167 (diff)
downloadportato-fdc8ab4222e781544cba285564b5bb368b9734a1.tar.gz
portato-fdc8ab4222e781544cba285564b5bb368b9734a1.tar.bz2
portato-fdc8ab4222e781544cba285564b5bb368b9734a1.zip
added the display of the masking reason
Diffstat (limited to '')
-rw-r--r--portato/gui/gtk/windows.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/portato/gui/gtk/windows.py b/portato/gui/gtk/windows.py
index 79e24b4..c77787a 100644
--- a/portato/gui/gtk/windows.py
+++ b/portato/gui/gtk/windows.py
@@ -581,6 +581,7 @@ class PackageTable:
self.emergeBtn.set_sensitive(True)
self.installedCheck.set_active(pkg.is_installed())
+ gtk.Tooltips().set_tip(self.maskedCheck, pkg.get_masking_reason()) # this returns None if it is not masked =)
if pkg.is_masked(use_changed = False) and not pkg.is_masked(use_changed = True):
self.maskedCheck.set_label("<i>(Masked)</i>")
self.maskedCheck.get_child().set_use_markup(True)