summaryrefslogtreecommitdiffstats
path: root/Mac/Tools
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-11-27 23:12:17 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-11-27 23:12:17 (GMT)
commit9cc4fcd64912aae9339664f980acfedbc34d3fcd (patch)
tree3f6ae9db3721177a6b99b455f0b5f150b98791e1 /Mac/Tools
parentb68947ef97d4a955bdf6702014898aa7d4fa0025 (diff)
downloadcpython-9cc4fcd64912aae9339664f980acfedbc34d3fcd.zip
cpython-9cc4fcd64912aae9339664f980acfedbc34d3fcd.tar.gz
cpython-9cc4fcd64912aae9339664f980acfedbc34d3fcd.tar.bz2
Package Mnager error dialogs could refer to hidden packages, which was
confusing. To be on the safe side we always show hidden packages before showing error dialogs. Will backport.
Diffstat (limited to 'Mac/Tools')
-rwxr-xr-xMac/Tools/IDE/PackageManager.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Mac/Tools/IDE/PackageManager.py b/Mac/Tools/IDE/PackageManager.py
index a4b9acc..fb482ef 100755
--- a/Mac/Tools/IDE/PackageManager.py
+++ b/Mac/Tools/IDE/PackageManager.py
@@ -421,6 +421,11 @@ class PackageBrowser(PimpInterface):
def showmessages(self, messages):
if messages:
+ # To be on the safe side we always show the hidden packages,
+ # they may be referred to in the error messages.
+ if not self.w.hidden_button.get():
+ self.w.hidden_button.set(1)
+ self.updatestatus()
if type(messages) == list:
messages = '\n'.join(messages)
if self.w.verbose_button.get():