[gnome-music/wip/jfelder/albumview-rubberband: 10/10] albumcover: Remove EventBox
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/albumview-rubberband: 10/10] albumcover: Remove EventBox
- Date: Sun, 2 Feb 2020 17:52:48 +0000 (UTC)
commit 96a05eddd79f3b9b0a19f3ac7db42dfb6c2b27b2
Author: Jean Felder <jfelder src gnome org>
Date: Thu Jan 9 00:51:30 2020 +0100
albumcover: Remove EventBox
The EventBox was used to listen to key presses. With rubberband
selection in the AlbumsView, there is no need to listen to any event.
data/ui/AlbumCover.ui | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)
---
diff --git a/data/ui/AlbumCover.ui b/data/ui/AlbumCover.ui
index b9ef7a27..d825c1cc 100644
--- a/data/ui/AlbumCover.ui
+++ b/data/ui/AlbumCover.ui
@@ -16,18 +16,12 @@
<property name="can_focus">False</property>
<property name="margin_bottom">4</property>
<child>
- <object class="GtkEventBox" id="_events">
+ <object class="CoverStack" id="_cover_stack">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <child>
- <object class="CoverStack" id="_cover_stack">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="vexpand">True</property>
- <property name="valign">end</property>
- <property name="halign">center</property>
- </object>
- </child>
+ <property name="vexpand">True</property>
+ <property name="valign">end</property>
+ <property name="halign">center</property>
</object>
</child>
<child type="overlay">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]