Status dialog shows empty frame when run in droplet mode

Bug #385058 reported by Stani
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Phatch
Fix Released
Medium
Stani

Bug Description

It shouldn't

Stani (stani)
Changed in phatch:
assignee: nobody → stani (stani)
importance: Undecided → Medium
status: New → Confirmed
summary: - status dialog shows empty frame when run in droplet mode
+ Status dialog shows empty frame when run in droplet mode
Revision history for this message
Stani (stani) wrote :

$ 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
Stani (stani)
Changed in phatch:
milestone: none → 0.2.1
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.