[gnome-music/wip/jfelder/gtk4-v3: 27/169] Set Gtk.IconSize usage to NORMAL (FIXME?)
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/gtk4-v3: 27/169] Set Gtk.IconSize usage to NORMAL (FIXME?)
- Date: Tue, 8 Feb 2022 11:42:31 +0000 (UTC)
commit 38617b370d3369f2d9b14d2a854f70c4214d232c
Author: Marinus Schraal <mschraal gnome org>
Date: Sun Apr 11 23:30:25 2021 +0200
Set Gtk.IconSize usage to NORMAL (FIXME?)
gnomemusic/widgets/songwidget.py | 2 +-
gnomemusic/widgets/starhandlerwidget.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnomemusic/widgets/songwidget.py b/gnomemusic/widgets/songwidget.py
index dd4ca06bd..91e1645a4 100644
--- a/gnomemusic/widgets/songwidget.py
+++ b/gnomemusic/widgets/songwidget.py
@@ -122,7 +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.SMALL_TOOLBAR)
+ 'media-playback-start-symbolic', Gtk.IconSize.NORMAL)
self.props.coresong.bind_property(
'selected', self._select_button, 'active',
diff --git a/gnomemusic/widgets/starhandlerwidget.py b/gnomemusic/widgets/starhandlerwidget.py
index 1ea3193f0..f22984f22 100644
--- a/gnomemusic/widgets/starhandlerwidget.py
+++ b/gnomemusic/widgets/starhandlerwidget.py
@@ -38,7 +38,7 @@ class CellRendererStar(Gtk.CellRendererPixbuf):
self.props.mode = Gtk.CellRendererMode.ACTIVATABLE
self.props.xpad = 32
- _, width, height = Gtk.IconSize.lookup(Gtk.IconSize.SMALL_TOOLBAR)
+ _, width, height = Gtk.IconSize.lookup(Gtk.IconSize.NORMAL)
self._icon_width = width
self._icon_height = height
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]