[gnome-music/wip/mschraal/gtk4: 85/141] albumwidget: Remove EventBox



commit ff43b8081e85ef41c5f9cabed01762972bf4d3f3
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 d75b1fe2..e54e5df9 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]