[gnome-music/wip/mschraal/gtk4: 41/81] 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: 41/81] playertoolbar: Adapt set_from_icon_name API
- Date: Wed, 26 Feb 2020 15:14:00 +0000 (UTC)
commit e19666e75b5bac47ecd75363e5cfd720c23538ec
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]