[gnome-music/wip/mschraal/gtk4: 17/66] artisttile: Remove EventBox
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/gtk4: 17/66] artisttile: Remove EventBox
- Date: Mon, 4 Nov 2019 14:50:24 +0000 (UTC)
commit 45d915429f2bd7c8b5e929b998519932fe8be9c1
Author: Marinus Schraal <mschraal gnome org>
Date: Thu Oct 31 12:57:57 2019 +0100
artisttile: Remove EventBox
data/ui/ArtistTile.ui | 2 +-
gnomemusic/widgets/artisttile.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/ui/ArtistTile.ui b/data/ui/ArtistTile.ui
index 6c75c483..3e8345c2 100644
--- a/data/ui/ArtistTile.ui
+++ b/data/ui/ArtistTile.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
- <template class="ArtistTile" parent="GtkEventBox">
+ <template class="ArtistTile" parent="GtkBox">
<property name="can_focus">False</property>
<property name="visible">True</property>
<child>
diff --git a/gnomemusic/widgets/artisttile.py b/gnomemusic/widgets/artisttile.py
index c762b1fd..dc9186da 100644
--- a/gnomemusic/widgets/artisttile.py
+++ b/gnomemusic/widgets/artisttile.py
@@ -29,7 +29,7 @@ from gnomemusic.coreartist import CoreArtist
@Gtk.Template(resource_path='/org/gnome/Music/ui/ArtistTile.ui')
-class ArtistTile(Gtk.EventBox):
+class ArtistTile(Gtk.Box):
"""Row for sidebars
Contains a label and an optional checkbox.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]