[gnome-music/wip/jfelder/searchbar-child: 1/10] window: Remove unnecessary searchbar reveal call
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/searchbar-child: 1/10] window: Remove unnecessary searchbar reveal call
- Date: Fri, 16 Nov 2018 13:57:34 +0000 (UTC)
commit ac1c0bb9fd5ab84ec0d07d555c8f8c6e8fe2d720
Author: Jean Felder <jfelder src gnome org>
Date: Thu Nov 15 14:12:01 2018 +0100
window: Remove unnecessary 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]