[gnome-music/wip/mschraal/gtk4-v2: 27/56] Set Gtk.IconSize usage to NORMAL (FIXME?)
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/gtk4-v2: 27/56] Set Gtk.IconSize usage to NORMAL (FIXME?)
- Date: Mon, 10 May 2021 23:36:13 +0000 (UTC)
commit d921fbec58808d405a39d0555931e8a8874d6a4f
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 3e0147270..93bcd4d10 100644
--- a/gnomemusic/widgets/songwidget.py
+++ b/gnomemusic/widgets/songwidget.py
@@ -121,7 +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.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]