[gnome-music/wip/mschraal/gtk4-v3: 66/192] 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-v3: 66/192] songwidget: Fix set_from_icon_name
- Date: Sat, 5 Feb 2022 20:09:36 +0000 (UTC)
commit eea687fb2c6a93fbdd7679b741533db0204b3d85
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 aa24eac5a..5129fddde 100644
--- a/gnomemusic/widgets/songwidget.py
+++ b/gnomemusic/widgets/songwidget.py
@@ -122,8 +122,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]