[gnome-music/wip/mschraal/gtk4-v2: 14/38] Set Gtk.IconSize usage to NORMAL (FIXME?)




commit cfbc6665f541c8732fbc655cb78b781c2cff5078
Author: Marinus Schraal <mschraal gnome org>
Date:   Sun Apr 11 23:30:25 2021 +0200

    Set Gtk.IconSize usage to NORMAL (FIXME?)

 gnomemusic/widgets/songwidget.py        | 2 +-
 gnomemusic/widgets/starhandlerwidget.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnomemusic/widgets/songwidget.py b/gnomemusic/widgets/songwidget.py
index 3e0147270..93bcd4d10 100644
--- a/gnomemusic/widgets/songwidget.py
+++ b/gnomemusic/widgets/songwidget.py
@@ -121,7 +121,7 @@ class SongWidget(Gtk.ListBoxRow):
         self._select_button.set_visible(False)
 
         self._play_icon.set_from_icon_name(
-            'media-playback-start-symbolic', Gtk.IconSize.SMALL_TOOLBAR)
+            'media-playback-start-symbolic', Gtk.IconSize.NORMAL)
 
         self.props.coresong.bind_property(
             'selected', self._select_button, 'active',
diff --git a/gnomemusic/widgets/starhandlerwidget.py b/gnomemusic/widgets/starhandlerwidget.py
index 1ea3193f0..f22984f22 100644
--- a/gnomemusic/widgets/starhandlerwidget.py
+++ b/gnomemusic/widgets/starhandlerwidget.py
@@ -38,7 +38,7 @@ class CellRendererStar(Gtk.CellRendererPixbuf):
         self.props.mode = Gtk.CellRendererMode.ACTIVATABLE
         self.props.xpad = 32
 
-        _, width, height = Gtk.IconSize.lookup(Gtk.IconSize.SMALL_TOOLBAR)
+        _, width, height = Gtk.IconSize.lookup(Gtk.IconSize.NORMAL)
 
         self._icon_width = width
         self._icon_height = height


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