[gnome-music/wip/mschraal/gtk4: 82/143] albumwidget: Remove EventBox



commit 76ae7ce0b6b32c432e97e010c69b70abe94a13c3
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 75d649ac..ccdf6e69 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 92438d98..83864f25 100644
--- a/gnomemusic/widgets/albumwidget.py
+++ b/gnomemusic/widgets/albumwidget.py
@@ -33,7 +33,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]