[gnome-music] window: Fix PlaylistsView selection button state
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music] window: Fix PlaylistsView selection button state
- Date: Sat, 15 Feb 2020 12:45:23 +0000 (UTC)
commit c5181ec14ff600e50968e09e198a30cdc6986194
Author: Chinmay Gurjar <chnmgurjar gmail com>
Date: Sat Feb 15 12:45:10 2020 +0000
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 cfc62af9..b41f3f53 100644
--- a/gnomemusic/window.py
+++ b/gnomemusic/window.py
@@ -426,6 +426,7 @@ class Window(Gtk.ApplicationWindow):
]
allowed = self._current_view not in no_selection_mode
self._headerbar.props.selection_mode_allowed = allowed
+ self._search_headerbar.props.selection_mode_allowed = allowed
def _toggle_view(self, view_enum):
# TODO: The SEARCH state actually refers to the child state of
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]