[gnome-music/wip/mschraal/gtk4: 24/64] playertoolbar: Adapt set_from_icon_name API



commit 307b2b17a0bc8ad301e5e6838494c20998f92305
Author: Marinus Schraal <mschraal gnome org>
Date:   Thu Oct 31 14:18:06 2019 +0100

    playertoolbar: Adapt set_from_icon_name API

 gnomemusic/widgets/playertoolbar.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/widgets/playertoolbar.py b/gnomemusic/widgets/playertoolbar.py
index e060f02d..051212eb 100644
--- a/gnomemusic/widgets/playertoolbar.py
+++ b/gnomemusic/widgets/playertoolbar.py
@@ -128,7 +128,7 @@ class PlayerToolbar(Gtk.ActionBar):
 
     def _sync_repeat_image(self):
         icon = self._repeat_dict[self._player.props.repeat_mode]
-        self._repeat_image.set_from_icon_name(icon, Gtk.IconSize.MENU)
+        self._repeat_image.set_from_icon_name(icon)
 
     def _sync_playing(self, player, state):
         if (self._player.props.state == Playback.STOPPED


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