[gnome-music/wip/mschraal/gtk4: 25/66] playertoolbar: Adapt set_from_icon_name API



commit df557dc4a82fed093a6120b7d02a0a755841baa2
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 57083517..a2fb4c35 100644
--- a/gnomemusic/widgets/playertoolbar.py
+++ b/gnomemusic/widgets/playertoolbar.py
@@ -139,7 +139,7 @@ class PlayerToolbar(Gtk.ActionBar):
     @log
     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)
 
     @log
     def _sync_playing(self, player, state):


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