diff --git a/SplashScr.py b/SplashScr.py index 52aa359..2f1f714 100644 --- a/SplashScr.py +++ b/SplashScr.py @@ -44,7 +44,7 @@ class SplashScr(): pos_x = self.spinner.get_x() pos_x = pos_x + int (self.spinner.get_width() * 1.1) self.message.set_position(pos_x, 0) - self.message.set_text("dslkfjlds") + self.message.set_text("Loading...") self.main_group.add(self.message) self.detail = clutter.Label() @@ -69,6 +69,7 @@ class SplashScr(): def remove(self): self.stage.remove(self.main_group) self.stage.remove(self.backdrop) + self.spinner.stop() def set_msg(self, msg): diff --git a/gloss.py b/gloss.py index b504985..64a3a23 100644 --- a/gloss.py +++ b/gloss.py @@ -3,7 +3,8 @@ import clutter #import gobject import pygtk import gtk -import threading +import gobject +#import threading from SplashScr import SplashScr from Menu import Menu from MenuMgr import MenuMgr @@ -36,6 +37,7 @@ class MainApp: self.splashScreen.display() #self.timer = threading.Timer(1, self.loadGloss) #self.timer.start() + gobject.timeout_add(500, self.loadGloss) def loadGloss(self): @@ -106,6 +108,8 @@ class MainApp: self.stage.connect('key-press-event', self.menuMgr.on_key_press_event) self.menu1.display() self.menu1.selectFirst(True) + + return False #print self.menuMgr.get_selector_bar().get_abs_position() #self.menuMgr.get_selector_bar().set_spinner(True) @@ -126,7 +130,7 @@ def main (args): app = MainApp() #thread.start_new_thread(app.run, (None,)) #thread.start_new_thread(app.loadGloss, (None,)) - app.loadGloss() + #app.loadGloss() app.run() diff --git a/ui/splash_box.png b/ui/splash_box.png new file mode 100644 index 0000000..1ea52d2 Binary files /dev/null and b/ui/splash_box.png differ