[gnome-music/wip/mschraal/songwidget-tiny-cleanups: 5/5] ui/SongWidget: Fix star hover
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/songwidget-tiny-cleanups: 5/5] ui/SongWidget: Fix star hover
- Date: Wed, 12 May 2021 10:49:18 +0000 (UTC)
commit f834af119f450534260860d7e85012a7e67325ad
Author: Marinus Schraal <mschraal gnome org>
Date: Tue May 11 01:18:17 2021 +0200
ui/SongWidget: Fix star hover
The eventcontroller propagation-phase was not properly set to handle
hover events.
data/ui/SongWidget.ui | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/data/ui/SongWidget.ui b/data/ui/SongWidget.ui
index 3dba6fdbd..0ad4365ab 100644
--- a/data/ui/SongWidget.ui
+++ b/data/ui/SongWidget.ui
@@ -195,6 +195,7 @@
</widgets>
</object>
<object class="GtkEventControllerMotion" id="_controller_motion">
+ <property name="propagation-phase">target</property>
<property name="widget">_star_eventbox</property>
<signal name="enter" handler="_on_star_hover" swapped="no"/>
<signal name="leave" handler="_on_star_unhover" swapped="no"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]