[gnome-music/wip/jfelder/albumview-rubberband: 16/16] albumcover: Remove EventBox



commit c79bd196511e00294b2ab844b74282cc00126926
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]