[gnome-music/freeze-break: 75/107] window: Slide out playlist list on Playlists view
- From: Arnel A. Borja <arnelborja src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/freeze-break: 75/107] window: Slide out playlist list on Playlists view
- Date: Wed, 11 Sep 2013 13:20:40 +0000 (UTC)
commit 3ae22465f06c515040e7d80075d05d671dfe107c
Author: Arnel A. Borja <arnelborja src gnome org>
Date: Thu Sep 5 10:27:33 2013 +0800
window: Slide out playlist list on Playlists view
gnomemusic/window.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/window.py b/gnomemusic/window.py
index 064e8d6..7fe32e3 100644
--- a/gnomemusic/window.py
+++ b/gnomemusic/window.py
@@ -144,7 +144,8 @@ class Window(Gtk.ApplicationWindow):
def _on_notify_mode(self, stack, param):
#Slide out artist list on switching to artists view
- if stack.get_visible_child() == self.views[1]:
+ if stack.get_visible_child() == self.views[1] or \
+ stack.get_visible_child() == self.views[3]:
stack.get_visible_child().stack.set_visible_child_name('dummy')
stack.get_visible_child().stack.set_visible_child_name('artists')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]