[gnome-music/wip/mschraal/core: 122/190] SelectionToolbar: Set initial button state
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/core: 122/190] SelectionToolbar: Set initial button state
- Date: Sun, 7 Jul 2019 21:43:40 +0000 (UTC)
commit 41071c895f95a2a0a97bbeb9d3a7f632a049685a
Author: Marinus Schraal <mschraal gnome org>
Date: Wed Jun 26 16:48:43 2019 +0200
SelectionToolbar: Set initial button state
gnomemusic/widgets/selectiontoolbar.py | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/gnomemusic/widgets/selectiontoolbar.py b/gnomemusic/widgets/selectiontoolbar.py
index 1d2b775a..16c9472b 100644
--- a/gnomemusic/widgets/selectiontoolbar.py
+++ b/gnomemusic/widgets/selectiontoolbar.py
@@ -50,6 +50,8 @@ class SelectionToolbar(Gtk.ActionBar):
self.connect(
'notify::selected-items-count', self._on_item_selection_changed)
+ self.notify("selected-items-count")
+
@Gtk.Template.Callback()
@log
def _on_add_to_playlist_button_clicked(self, widget):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]