[orca/orca-xdesktop] Fix for bug 653634 - Orca welcome message is cut off



commit 20af712103ad7be28bfcd134ef48074f66de1f46
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date:   Wed Jun 29 15:02:41 2011 -0400

    Fix for bug 653634 - Orca welcome message is cut off

 src/orca/orca.py            |    4 ++--
 src/orca/orca_gui_splash.py |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/orca/orca.py b/src/orca/orca.py
index b208357..167a714 100644
--- a/src/orca/orca.py
+++ b/src/orca/orca.py
@@ -1988,8 +1988,6 @@ def init(registry):
     registry.registerEventListener(_onMouseButton,
                                    "mouse:button")
 
-    showSplashGUI()
-
     loadUserSettings()
 
     masks = []
@@ -2290,6 +2288,8 @@ def main():
     except:
         debug.printException(debug.LEVEL_SEVERE)
 
+    showSplashGUI()
+
     # Check to see if the user wants the configuration GUI. It's
     # done here so that the user's existing preferences can be used
     # to set the initial GUI state.  We'll also force the set to
diff --git a/src/orca/orca_gui_splash.py b/src/orca/orca_gui_splash.py
index 1383aca..4506e8e 100644
--- a/src/orca/orca_gui_splash.py
+++ b/src/orca/orca_gui_splash.py
@@ -83,11 +83,11 @@ class OrcaSplashGUI(orca_gtkbuilder.GtkBuilderWrapper):
         box.grab_focus()
         splashScreen.show_all()
 
+        gobject.timeout_add(3000, splashScreen.hide)
+
         while gtk.events_pending():
             gtk.main_iteration()
 
-        gobject.timeout_add(3000, splashScreen.hide)
-
         return splashScreen
 
     def hideGUI(self):



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]