[gnome-music/wip/jfelder/gtk4-v3: 54/259] songwidget: Fix set_from_icon_name
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/gtk4-v3: 54/259] songwidget: Fix set_from_icon_name
- Date: Thu, 17 Feb 2022 08:41:16 +0000 (UTC)
commit caf4cb3b69c8e97f57e6ca077836bddf4e9efbd8
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 dfcdfe45c..83d566cf3 100644
--- a/gnomemusic/widgets/songwidget.py
+++ b/gnomemusic/widgets/songwidget.py
@@ -121,8 +121,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]