[gnome-music/wip/mschraal/toolbar-cleanup] headerbar: fixups
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/toolbar-cleanup] headerbar: fixups
- Date: Fri, 18 May 2018 20:25:02 +0000 (UTC)
commit 2b53f626a2f549b6a490423799128e65f79e546f
Author: Marinus Schraal <mschraal gnome org>
Date: Fri May 18 22:23:55 2018 +0200
headerbar: fixups
gnomemusic/widgets/headerbar.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/gnomemusic/widgets/headerbar.py b/gnomemusic/widgets/headerbar.py
index eaaa34fc..3533756c 100644
--- a/gnomemusic/widgets/headerbar.py
+++ b/gnomemusic/widgets/headerbar.py
@@ -110,9 +110,9 @@ class HeaderBar(Gtk.HeaderBar):
GObject.BindingFlags.INVERT_BOOLEAN |
GObject.BindingFlags.SYNC_CREATE)
self.bind_property(
- "selection_mode", self._cancel_button, "visible")
+ "selection-mode", self._cancel_button, "visible")
self.bind_property(
- "selection_mode", self._select_button, "visible",
+ "selection-mode", self._select_button, "visible",
GObject.BindingFlags.INVERT_BOOLEAN)
self.bind_property(
"stack", self._stack_switcher, "stack",
@@ -122,10 +122,12 @@ class HeaderBar(Gtk.HeaderBar):
"items-selected", self._selection_menu, "items-selected")
@GObject.Property(type=bool, default=False)
+ @log
def selection_mode(self):
return self._selection_mode
@selection_mode.setter
+ @log
def selection_mode(self, mode):
self._selection_mode = mode
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]