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




commit 05d5f3a50fdd8de3ed26569b558ae3d89f3c6805
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]