[gnome-music/wip/jfelder/gtk4-v3: 199/200] albumsview: Restore search-mode-changed logic




commit 4b468668d4b6268f106c28c032a1349dd80934a5
Author: Jean Felder <jfelder src gnome org>
Date:   Fri Feb 11 12:55:32 2022 +0100

    albumsview: Restore search-mode-changed logic

 gnomemusic/views/albumsview.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnomemusic/views/albumsview.py b/gnomemusic/views/albumsview.py
index ca4272027..c01667b02 100644
--- a/gnomemusic/views/albumsview.py
+++ b/gnomemusic/views/albumsview.py
@@ -101,8 +101,8 @@ class AlbumsView(Gtk.Stack):
 
         self._album_scrolled_window.set_child(self._album_widget)
 
-        # self.connect(
-        #     "notify::search-mode-active", self._on_search_mode_changed)
+        self.connect(
+            "notify::search-mode-active", self._on_search_mode_changed)
 
     def _on_selection_mode_changed(self, widget, data=None):
         selection_mode = self._window.props.selection_mode


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