- Fixed channel changing spinner bug

This commit is contained in:
noisymime 2008-03-28 01:52:31 +00:00
parent 7f729ff69d
commit 58cdfc9211
1 changed files with 5 additions and 1 deletions

View File

@ -41,6 +41,7 @@ class Module:
def begin(self, glossMgr):
self.glossMgr = glossMgr
#self.buffer_file_reader = open("test.mpg","r")
self.spinning = True
glossMgr.get_selector_bar().set_spinner(True)
self.loading_scr = SplashScr(self.stage)
self.loading_scr.set_msg("Starting TV...")
@ -64,7 +65,10 @@ class Module:
self.isRunning = True
def begin_playback(self, fd):#buffer_file):
self.glossMgr.get_selector_bar().set_spinner(False)
if self.spinning:
self.glossMgr.get_selector_bar().set_spinner(False)
self.spinning = False
#uri = "file://" + os.getcwd() +"/" + buffer_file
#f = open(os.getcwd() +"/" + buffer_file, 'r')