[gnome-music/wip/mschraal/gtk4-v2: 43/53] songwidget: Fix set_from_icon_name
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/gtk4-v2: 43/53] songwidget: Fix set_from_icon_name
- Date: Sat, 15 May 2021 14:35:24 +0000 (UTC)
commit cbed63ed7c0e5ed872ed0ffab6ab8399c6a0723b
Author: Marinus Schraal <mschraal gnome org>
Date: Mon Apr 12 17:27:31 2021 +0200
songwidget: Fix set_from_icon_name
gnomemusic/widgets/songwidget.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/gnomemusic/widgets/songwidget.py b/gnomemusic/widgets/songwidget.py
index 167aeb477..c54d01a83 100644
--- a/gnomemusic/widgets/songwidget.py
+++ b/gnomemusic/widgets/songwidget.py
@@ -120,8 +120,7 @@ class SongWidget(Gtk.ListBoxRow):
self._select_button.set_visible(False)
- self._play_icon.set_from_icon_name(
- 'media-playback-start-symbolic', Gtk.IconSize.NORMAL)
+ self._play_icon.set_from_icon_name("media-playback-start-symbolic")
self.props.coresong.bind_property(
'selected', self._select_button, 'active',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]