[gnome-music/wip/jfelder/searchbar-child: 3/11] window: Remove unecessary searchbar reveal call
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/searchbar-child: 3/11] window: Remove unecessary searchbar reveal call
- Date: Fri, 16 Nov 2018 00:26:32 +0000 (UTC)
commit 06e9273546c7994d55c99efd5e91af711de841fb
Author: Jean Felder <jfelder src gnome org>
Date: Thu Nov 15 14:12:01 2018 +0100
window: Remove unecessary searchbar reveal call
When a child view is visible in search mode, searchbar is not
visible. Thus, it is unecessary to hide it when switching back to the
main view.
gnomemusic/window.py | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/gnomemusic/window.py b/gnomemusic/window.py
index 0e7d63e2..a272fe23 100644
--- a/gnomemusic/window.py
+++ b/gnomemusic/window.py
@@ -472,9 +472,6 @@ class Window(Gtk.ApplicationWindow):
if self.curr_view in views_with_child:
self.curr_view._back_button_clicked(self.curr_view)
- if self.curr_view != self.views[View.SEARCH]:
- self._searchbar.reveal(False)
-
@log
def _on_selection_mode_changed(self, widget, data=None):
if self.props.selection_mode:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]