display character window while loading it
authorRyan Campbell <campbellr@gmail.com>
Fri, 21 May 2010 03:19:02 +0000 (21:19 -0600)
committerRyan Campbell <campbellr@gmail.com>
Fri, 21 May 2010 03:19:02 +0000 (21:19 -0600)
package/src/ui/diablo/gui.py
package/src/ui/fremantle/gui.py

index deba39f..4a95a7d 100644 (file)
@@ -298,9 +298,10 @@ class CharacterSheetUI(BaseUI):
         # TODO: this is a really long and ugly function, split it up somehow
 
         self.win = hildon.Window()
-        #self.win.show_all() 
 
         progress_bar = hildon.hildon_banner_show_progress(self.win, None, "Loading character sheet...")
+
+        self.win.show_all() 
         progress_bar.set_fraction(0.4)
 
         # Create menu
index 6da4336..28fdef8 100644 (file)
@@ -303,8 +303,8 @@ class CharacterSheetUI(BaseUI):
         # TODO: this is a really long and ugly function, split it up somehow
 
         self.win = hildon.StackableWindow()
-        #self.win.show_all() 
         hildon.hildon_gtk_window_set_progress_indicator(self.win, 1)
+        self.win.show_all() 
 
         # Create menu
         # NOTE: we probably want a window-specific menu for this page, but the