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



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

    window: Fix PlaylistView selection button state
    
    The selection button state for SearchHeaderBar with PlaylistView
    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]