From 9cc4fcd64912aae9339664f980acfedbc34d3fcd Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Thu, 27 Nov 2003 23:12:17 +0000 Subject: [PATCH] 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. --- Mac/Tools/IDE/PackageManager.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Mac/Tools/IDE/PackageManager.py b/Mac/Tools/IDE/PackageManager.py index a4b9accf5af..fb482ef1685 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():