[gnome-music/wip/jfelder/searchview-back: 1/2] searchview: Remove some improper code in back button logic



commit a472bbb5a12833c8263f273a44b92f05ce0d0237
Author: Jean Felder <jfelder src gnome org>
Date:   Sat Jan 4 23:05:40 2020 +0100

    searchview: Remove some improper code in back button logic
    
    From the commit history, it looks like this code was wrongly added
    during the core rewrite.
    
    Closes: #357

 gnomemusic/views/searchview.py | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/gnomemusic/views/searchview.py b/gnomemusic/views/searchview.py
index 40ed115b..b9c6aed4 100644
--- a/gnomemusic/views/searchview.py
+++ b/gnomemusic/views/searchview.py
@@ -416,9 +416,6 @@ class SearchView(Gtk.Stack):
             self.remove(self._scrolled_artist_window)
             self._scrolled_artist_window.destroy()
             self._scrolled_artist_window = None
-        elif self.get_visible_child() == self._search_results:
-            self._window.views[View.ALBUM].set_visible_child(
-                self._window.views[View.ALBUM]._grid)
 
         self.set_visible_child(self._search_results)
         self.props.search_mode_active = True


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]