[gnome-music/wip/mschraal/gtk4: 97/143] playertoolbar: Adapt set_from_icon_name API
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/gtk4: 97/143] playertoolbar: Adapt set_from_icon_name API
- Date: Sun, 19 Jan 2020 10:52:27 +0000 (UTC)
commit c2ddff1915ce75e501212e15e8e21311f16b49c3
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]