[gnome-music/wip/mschraal/gtk4: 22/84] playertoolbar: Adapt set_from_icon_name API



commit 30d9014132d21e2359ff9bdae881b3a66bc0ff0a
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 5b77d4b6..c0a7e8eb 100644
--- a/gnomemusic/widgets/playertoolbar.py
+++ b/gnomemusic/widgets/playertoolbar.py
@@ -126,7 +126,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]