[gnome-music/wip/mschraal/gtk4: 8/58] albumwidget: Remove EventBox



commit 8244b08c05f897838272f5d01c8d68cd2bebad34
Author: Marinus Schraal <mschraal gnome org>
Date:   Thu Oct 31 12:54:56 2019 +0100

    albumwidget: Remove EventBox

 data/ui/AlbumWidget.ui            | 2 +-
 gnomemusic/widgets/albumwidget.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/ui/AlbumWidget.ui b/data/ui/AlbumWidget.ui
index 7f6b770d..9b273c7f 100644
--- a/data/ui/AlbumWidget.ui
+++ b/data/ui/AlbumWidget.ui
@@ -2,7 +2,7 @@
 <!-- Generated with glade 3.20.0 -->
 <interface>
   <requires lib="gtk+" version="3.12"/>
-  <template class="AlbumWidget" parent="GtkEventBox">
+  <template class="AlbumWidget" parent="GtkBox">
     <property name="visible">True</property>
     <style>
       <class name="view"/>
diff --git a/gnomemusic/widgets/albumwidget.py b/gnomemusic/widgets/albumwidget.py
index 3c298dff..59bb2718 100644
--- a/gnomemusic/widgets/albumwidget.py
+++ b/gnomemusic/widgets/albumwidget.py
@@ -9,7 +9,7 @@ from gnomemusic.widgets.disclistboxwidget import DiscListBox  # noqa: F401
 
 
 @Gtk.Template(resource_path='/org/gnome/Music/ui/AlbumWidget.ui')
-class AlbumWidget(Gtk.EventBox):
+class AlbumWidget(Gtk.Box):
     """Album widget.
 
     The album widget consists of an image with the album art


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]