[gnome-music] Fix missing toolbar when coming back from search result
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music] Fix missing toolbar when coming back from search result
- Date: Thu, 5 Nov 2015 09:59:27 +0000 (UTC)
commit 51e5826ead615a89ed6d8d507f17691037a18898
Author: Jordana Luft <jordana sluft gmail com>
Date: Thu Nov 5 02:35:11 2015 -0200
Fix missing toolbar when coming back from search result
https://bugzilla.gnome.org/show_bug.cgi?id=757227
gnomemusic/view.py | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gnomemusic/view.py b/gnomemusic/view.py
index 675de19..9f9a10b 100644
--- a/gnomemusic/view.py
+++ b/gnomemusic/view.py
@@ -1394,9 +1394,8 @@ class Search(ViewContainer):
self._artistAlbumsWidget = None
elif self.get_visible_child() == self._grid:
self.window.views[0].set_visible_child(self.window.views[0]._grid)
- self.window.toolbar.set_state(ToolbarState.CHILD_VIEW)
self.set_visible_child(self._grid)
-
+ self.window.toolbar.set_state(ToolbarState.MAIN)
@log
def _on_item_activated(self, widget, id, path):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]