[gnome-music/wip/mschraal/playlistsview-selection-button-3-34] window: Fix PlaylistsView selection button state



commit 380650007ea8b91bb59ba4e8e1025a9b8a81abdf
Author: Chinmay Gurjar <chnmgurjar gmail com>
Date:   Thu Feb 13 21:09:15 2020 +0530

    window: Fix PlaylistsView selection button state
    
    The selection button state for SearchHeaderBar while PlaylistsView or
    EmptyView is active was not set to inactive.
    
    Closes: #366

 gnomemusic/window.py | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gnomemusic/window.py b/gnomemusic/window.py
index 87c17257..c67d93bc 100644
--- a/gnomemusic/window.py
+++ b/gnomemusic/window.py
@@ -451,6 +451,7 @@ class Window(Gtk.ApplicationWindow):
         ]
         allowed = self.curr_view not in no_selection_mode
         self._headerbar.props.selection_mode_allowed = allowed
+        self._search_headerbar.props.selection_mode_allowed = allowed
 
     @log
     def _toggle_view(self, view_enum):


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