[gnome-music/wip/jfelder/gtk4-v3: 8/110] songwidget: Fix set_from_icon_name




commit 8a57ffcd3bcfa77c8dbb8cc9dfc5a4ac8b43157d
Author: Marinus Schraal <mschraal gnome org>
Date:   Mon Apr 12 17:27:31 2021 +0200

    songwidget: Fix set_from_icon_name

 gnomemusic/widgets/songwidget.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/gnomemusic/widgets/songwidget.py b/gnomemusic/widgets/songwidget.py
index aa24eac5a..5129fddde 100644
--- a/gnomemusic/widgets/songwidget.py
+++ b/gnomemusic/widgets/songwidget.py
@@ -122,8 +122,7 @@ class SongWidget(Gtk.ListBoxRow):
 
         self._select_button.set_visible(False)
 
-        self._play_icon.set_from_icon_name(
-            'media-playback-start-symbolic', Gtk.IconSize.NORMAL)
+        self._play_icon.set_from_icon_name("media-playback-start-symbolic")
 
         self.props.coresong.bind_property(
             'selected', self._select_button, 'active',


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