[gnome-music/wip/mschraal/gtk4-v2: 31/56] starhandlerwidget: Set fixed icon size (FIXME)
- From: Marinus Schraal <mschraal src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [gnome-music/wip/mschraal/gtk4-v2: 31/56] starhandlerwidget: Set fixed icon size (FIXME)
 
- Date: Mon, 10 May 2021 23:36:13 +0000 (UTC)
 
commit c161c72b62d133d2178a1b582fa2a48e6c960567
Author: Marinus Schraal <mschraal gnome org>
Date:   Sun Apr 11 23:54:35 2021 +0200
    starhandlerwidget: Set fixed icon size (FIXME)
 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 f22984f22..a6881f5f7 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.NORMAL)
+        # _, width, height = Gtk.IconSize.lookup(Gtk.IconSize.NORMAL)
 
-        self._icon_width = width
-        self._icon_height = height
+        self._icon_width = 16
+        self._icon_height = 16
 
         self._show_star = 0
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]