[gnome-music/wip/jfelder/searchview-back: 1/2] searchview: Remove some improper code in back button logic
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/searchview-back: 1/2] searchview: Remove some improper code in back button logic
- Date: Sat, 4 Jan 2020 22:21:58 +0000 (UTC)
commit 13814c026bdcf4c071a0dcac4603d9d9c414f8f8
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 | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/gnomemusic/views/searchview.py b/gnomemusic/views/searchview.py
index 40ed115b..f95e52d5 100644
--- a/gnomemusic/views/searchview.py
+++ b/gnomemusic/views/searchview.py
@@ -27,7 +27,6 @@ from gi.repository import Gdk, GObject, Gtk
from gnomemusic import log
from gnomemusic.player import PlayerPlaylist
-from gnomemusic.utils import View
from gnomemusic.search import Search
from gnomemusic.widgets.albumcover import AlbumCover
from gnomemusic.widgets.albumwidget import AlbumWidget
@@ -416,9 +415,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]