[gnome-music/wip/jfelder/gtk4-v3: 32/174] 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: 32/174] Set Gtk.IconSize usage to NORMAL (FIXME?)
- Date: Tue, 8 Feb 2022 11:31:53 +0000 (UTC)
commit 4a415c361c11c87c8c5cc67bf54e4db0bc383ed4
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 84a68f869..9834c6044 100644
--- a/gnomemusic/widgets/songwidget.py
+++ b/gnomemusic/widgets/songwidget.py
@@ -123,7 +123,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]