Title: [commits] (stearns) [11183] Fix bug 4947 (Reminder dialog flashes on launch): A mechanism, for delaying presentation of due reminders on Mac until after the main window appears, was misfiring and presenting the box on other platforms; fixed the logic, r=jeffrey.
Revision
11183
Author
stearns
Date
2006-07-17 10:59:01 -0700 (Mon, 17 Jul 2006)

Log Message

Fix bug 4947 (Reminder dialog flashes on launch): A mechanism, for delaying presentation of due reminders on Mac until after the main window appears, was misfiring and presenting the box on other platforms; fixed the logic, r=jeffrey.

Modified Paths

Diff

Modified: trunk/chandler/parcels/osaf/framework/blocks/ControlBlocks.py (11182 => 11183)

--- trunk/chandler/parcels/osaf/framework/blocks/ControlBlocks.py	2006-07-17 17:20:26 UTC (rev 11182)
+++ trunk/chandler/parcels/osaf/framework/blocks/ControlBlocks.py	2006-07-17 17:59:01 UTC (rev 11183)
@@ -1066,7 +1066,7 @@
         Prime the reminder timer and maybe show or hide the dialog
         """
         mainFrame = wx.GetApp().mainFrame
-        if not mainFrame.IsShown():
+        if createDialog and not mainFrame.IsShown():
             # The main window isn't up yet; this happens on Mac when
             # Chandler is started with a reminder already due. Wait a couple
             # of seconds and try again.




_______________________________________________
Commits mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/commits

Reply via email to