[gnome-music: 9/11] Fix No Music view



commit ed647188ed984e6baad6b5fc5abd39fe9d8f97b3
Author: Arnel A. Borja <arnelborja src gnome org>
Date:   Thu Jul 25 20:16:12 2013 +0800

    Fix No Music view

 gnomemusic/window.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/window.py b/gnomemusic/window.py
index b30b40e..038df65 100644
--- a/gnomemusic/window.py
+++ b/gnomemusic/window.py
@@ -89,7 +89,7 @@ class Window(Gtk.ApplicationWindow):
             self.views[0].populate()
         #To revert to the No Music View when no songs are found
         else:
-            self.views[0] = Views.Empty(self.toolbar, self.player)
+            self.views.append(Views.Empty(self.toolbar, self.player))
             self._stack.add_titled(self.views[0], _("Empty"), _("Empty"))
 
         self.toolbar.set_state(ToolbarState.ALBUMS)


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