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.
This commit is contained in:
Jack Jansen 2003-11-27 23:12:17 +00:00
parent b68947ef97
commit 9cc4fcd649
1 changed files with 5 additions and 0 deletions

View File

@ -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():