Skip to content

Commit

Permalink
Should only use the loading_overlay.png if a song loading screen is f…
Browse files Browse the repository at this point in the history
…ound
  • Loading branch information
erodozer committed Jun 25, 2011
1 parent 0db470c commit 3e8d8f7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Dialogs.py
Expand Up @@ -2092,9 +2092,10 @@ class SongLoadingSplashScreen(LoadingSplashScreen):
def __init__(self, engine, text, songName, libraryName):
super(SongLoadingSplashScreen, self).__init__(engine, text)

self.engine.loadImgDrawing(self, "loadingImg", os.path.join("themes", self.engine.data.themeLabel, "loading_overlay.png"))
self.engine.loadImgDrawing(self, "songBack", os.path.join(libraryName, songName, "loading.png"))
print self.songBack
if self.songBack:
self.engine.loadImgDrawing(self, "loadingImg", os.path.join("themes", self.engine.data.themeLabel, "loading_overlay.png"))

def render(self, visibility, topMost):
self.engine.view.setViewport(1,0)
font = self.engine.data.loadingFont #MFH - new font support
Expand Down

0 comments on commit 3e8d8f7

Please sign in to comment.