[gnome-music/wip/mschraal/playlistview-selection-button-3-34] window: Fix PlaylistView selection button state
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/playlistview-selection-button-3-34] window: Fix PlaylistView selection button state
- Date: Sat, 15 Feb 2020 12:36:32 +0000 (UTC)
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]