summaryrefslogtreecommitdiff
path: root/portato/gui
diff options
context:
space:
mode:
authornecoro <>2007-04-04 17:35:05 +0000
committernecoro <>2007-04-04 17:35:05 +0000
commita54998f99c9bc5830eba7de9a76fac10f99721f0 (patch)
tree1b6478c0b32368c3a78e3f0eaf556dc576af067b /portato/gui
parent4896a255f7064cd669edb9b42dce32a57541ea62 (diff)
downloadportato-a54998f99c9bc5830eba7de9a76fac10f99721f0.tar.gz
portato-a54998f99c9bc5830eba7de9a76fac10f99721f0.tar.bz2
portato-a54998f99c9bc5830eba7de9a76fac10f99721f0.zip
showed masked packages unmasked by the user similar to stable marked testing packages
Diffstat (limited to '')
-rw-r--r--portato/gui/gtk/windows.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/portato/gui/gtk/windows.py b/portato/gui/gtk/windows.py
index 2de772f..5b89aba 100644
--- a/portato/gui/gtk/windows.py
+++ b/portato/gui/gtk/windows.py
@@ -571,12 +571,21 @@ class PackageTable:
if self.doEmerge:
self.emergeBtn.set_sensitive(True)
self.installedCheck.set_active(pkg.is_installed())
- self.maskedCheck.set_active(pkg.is_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)
+ else:
+ self.maskedCheck.set_label("Masked")
+
+ self.maskedCheck.set_active(pkg.is_masked(use_changed = False))
+
if pkg.is_testing(use_keywords = False) and not pkg.is_testing(use_keywords = True):
self.testingCheck.set_label("<i>(Testing)</i>")
self.testingCheck.get_child().set_use_markup(True)
else:
self.testingCheck.set_label("Testing")
+
self.testingCheck.set_active(pkg.is_testing(use_keywords = False))
if self.doEmerge: