summaryrefslogtreecommitdiff
path: root/portato/gui/windows
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-08-11 13:12:48 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-08-11 13:12:48 +0200
commit2244955983847be2158b6fae73b511755e65a887 (patch)
tree12d475c965afe5e31362ae96fab7c6773bcc2033 /portato/gui/windows
parent06a5bea6860df9ead0165eec007f4eabbd13aaf5 (diff)
downloadportato-2244955983847be2158b6fae73b511755e65a887.tar.gz
portato-2244955983847be2158b6fae73b511755e65a887.tar.bz2
portato-2244955983847be2158b6fae73b511755e65a887.zip
Do not show masking label, if the package is not in system anymore
Diffstat (limited to 'portato/gui/windows')
-rw-r--r--portato/gui/windows/main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/portato/gui/windows/main.py b/portato/gui/windows/main.py
index 574fa14..1b67747 100644
--- a/portato/gui/windows/main.py
+++ b/portato/gui/windows/main.py
@@ -235,6 +235,7 @@ class PackageTable:
self.installedCheck.hide()
self.maskedCheck.hide()
+ self.maskedLabel.set_label("") # this is needed for some unknown reason
self.maskedLabel.hide()
self.testingCheck.hide()
self.emergeBtn.set_sensitive(False)
@@ -264,8 +265,7 @@ class PackageTable:
else:
self.maskedCheck.set_active(pkg.is_masked(use_changed = False))
- if reason:
- self.maskedLabel.set_label(reason)
+ self.maskedLabel.set_label(reason)
if pkg.is_testing(use_keywords = False) and not pkg.is_testing(use_keywords = True):
self.testingCheck.set_label("<i>(%s)</i>" % _("Testing"))