← Back to team overview

phatch-dev team mailing list archive

[Bug 385058] Re: Status dialog shows empty frame when run in droplet mode

 

$ bzr diff
=== modified file 'phatch/pyWx/gui.py'
--- phatch/pyWx/gui.py	2009-06-09 04:36:42 +0000
+++ phatch/pyWx/gui.py	2009-06-09 15:44:50 +0000
@@ -124,7 +124,11 @@
         result['cancel'] = dlg.ShowModal() == wx.ID_CANCEL
     
     def show_message(self,message,title='',style=wx.OK | wx.ICON_EXCLAMATION):
-        dlg = wx.MessageDialog(self, 
+        if self.IsShown():
+            parent = self
+        else:
+            parent = None
+        dlg = wx.MessageDialog(parent, 
                 message,
                 '%(name)s '%ct.INFO +title,
                 style,

$ bzr commit -m "fix empty frame for droplet"
Committing to: /home/stani/sync/python/phatch/trunk/                           
modified phatch/pyWx/gui.py
Committed revision 712.             

** Changed in: phatch
       Status: Confirmed => Fix Committed

-- 
Status dialog shows empty frame when run in droplet mode
https://bugs.launchpad.net/bugs/385058
You received this bug notification because you are a member of Phatch
Developers, which is subscribed to Phatch.

Status in Phatch = Photo & Batch!: Fix Committed

Bug description:
It shouldn't



References