[gnome-music/wip/mschraal/gtk4-v2: 43/60] ui/SongWidget: Disable button-release signal (FIXME)
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/gtk4-v2: 43/60] ui/SongWidget: Disable button-release signal (FIXME)
- Date: Sun, 2 May 2021 11:44:20 +0000 (UTC)
commit 568af00c19e05163872a9cf907a021befa55eae6
Author: Marinus Schraal <mschraal gnome org>
Date: Mon Apr 12 17:18:25 2021 +0200
ui/SongWidget: Disable button-release signal (FIXME)
data/ui/SongWidget.ui | 2 +-
gnomemusic/widgets/disclistboxwidget.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/ui/SongWidget.ui b/data/ui/SongWidget.ui
index bf5aeaf86..9467f8c3c 100644
--- a/data/ui/SongWidget.ui
+++ b/data/ui/SongWidget.ui
@@ -162,7 +162,7 @@
<property name="halign">end</property>
<property name="valign">center</property>
<property name="margin-end">12</property>
- <signal name="button-release-event" handler="_on_star_toggle" swapped="no"/>
+ <!-- <signal name="button-release-event" handler="_on_star_toggle" swapped="no"/> -->
<child>
<object class="GtkEventControllerMotion">
<signal name="enter" handler="_on_star_hover" swapped="no"/>
diff --git a/gnomemusic/widgets/disclistboxwidget.py b/gnomemusic/widgets/disclistboxwidget.py
index f7ef88f27..02244e91a 100644
--- a/gnomemusic/widgets/disclistboxwidget.py
+++ b/gnomemusic/widgets/disclistboxwidget.py
@@ -89,7 +89,7 @@ class DiscBox(Gtk.ListBoxRow):
GObject.BindingFlags.BIDIRECTIONAL
| GObject.BindingFlags.SYNC_CREATE)
- song_widget.connect('button-release-event', self._song_activated)
+ # song_widget.connect('button-release-event', self._song_activated)
row = Gtk.ListBoxRow()
row.props.activatable = False
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]