summaryrefslogtreecommitdiff
path: root/portato/gui
diff options
context:
space:
mode:
Diffstat (limited to '')
-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"))