[gnome-music/wip/mschraal/gtk4: 113/141] starhandlerwidget: Unbreak some iconsize stuff
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/gtk4: 113/141] starhandlerwidget: Unbreak some iconsize stuff
- Date: Mon, 17 Feb 2020 19:35:48 +0000 (UTC)
commit 998984fb82bf216b6a17d16c4d0e690405240752
Author: Marinus Schraal <mschraal gnome org>
Date: Thu Oct 31 15:41:13 2019 +0100
starhandlerwidget: Unbreak some iconsize stuff
gnomemusic/widgets/starhandlerwidget.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gnomemusic/widgets/starhandlerwidget.py b/gnomemusic/widgets/starhandlerwidget.py
index 2657237f..a079fca3 100644
--- a/gnomemusic/widgets/starhandlerwidget.py
+++ b/gnomemusic/widgets/starhandlerwidget.py
@@ -38,10 +38,10 @@ 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.SMALL_TOOLBAR)
- self._icon_width = width
- self._icon_height = height
+ self._icon_width = 24
+ self._icon_height = 24
self._show_star = 0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]