diff options
author | necoro <> | 2007-05-14 19:30:24 +0000 |
---|---|---|
committer | necoro <> | 2007-05-14 19:30:24 +0000 |
commit | fdc8ab4222e781544cba285564b5bb368b9734a1 (patch) | |
tree | cae80705cd3a8833343f460143b713bc688aeb73 /portato/gui/qt/windows.py | |
parent | 8b5575f4ecff31de8e23b88dffb63b19ff2d2167 (diff) | |
download | portato-fdc8ab4222e781544cba285564b5bb368b9734a1.tar.gz portato-fdc8ab4222e781544cba285564b5bb368b9734a1.tar.bz2 portato-fdc8ab4222e781544cba285564b5bb368b9734a1.zip |
added the display of the masking reason
Diffstat (limited to 'portato/gui/qt/windows.py')
-rw-r--r-- | portato/gui/qt/windows.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/portato/gui/qt/windows.py b/portato/gui/qt/windows.py index 904b07f..31addc3 100644 --- a/portato/gui/qt/windows.py +++ b/portato/gui/qt/windows.py @@ -545,6 +545,9 @@ class PackageDetails: self.window.pkgEmergeBtn.setEnabled(True) self.window.installedCheck.setCheckState(qCheck(pkg.is_installed())) + masking_reason = pkg.get_masking_reason() or "" # set to "" if the reason is None + self.window.maskedCheck.setToolTip(masking_reason) + if pkg.is_masked(use_changed = False) and not pkg.is_masked(use_changed = True): self.window.maskedCheck.setText("(Masked)") else: |