[gnome-music] window: always go to albums list when we're clicking 'Albums'
- From: Vadim Rutkovsky <vrutkovsky src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music] window: always go to albums list when we're clicking 'Albums'
- Date: Fri, 1 Aug 2014 15:41:29 +0000 (UTC)
commit e850121b1197b92a9ad7a9b7c586dbbde1aa3c99
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date: Fri Aug 1 17:34:14 2014 +0200
window: always go to albums list when we're clicking 'Albums'
https://bugzilla.gnome.org/show_bug.cgi?id=734122
gnomemusic/window.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gnomemusic/window.py b/gnomemusic/window.py
index 0e73b2f..9fda927 100644
--- a/gnomemusic/window.py
+++ b/gnomemusic/window.py
@@ -334,6 +334,10 @@ class Window(Gtk.ApplicationWindow):
self.prev_view = self.curr_view
self.curr_view = stack.get_visible_child()
+ # Switch to all albums view when we're clicking Albums
+ if self.curr_view == self.views[0]:
+ self.curr_view.set_visible_child(self.curr_view._grid)
+
# Slide out sidebar on switching to Artists or Playlists view
if self.curr_view == self.views[1] or \
self.curr_view == self.views[3]:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]