[gtk+/spinner] GtkAppChooser: Set a fixed icon size



commit 0d720582d6d471b69cafa0232b392a1979254434
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Jun 20 18:39:50 2014 -0400

    GtkAppChooser: Set a fixed icon size
    
    Set the size of the pixbuf cell to 24, to force scaling
    of app icons that are only available in bigger sizes.

 gtk/resources/ui/gtkappchooserwidget.ui |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/gtk/resources/ui/gtkappchooserwidget.ui b/gtk/resources/ui/gtkappchooserwidget.ui
index 4b23628..b2f5414 100644
--- a/gtk/resources/ui/gtkappchooserwidget.ui
+++ b/gtk/resources/ui/gtkappchooserwidget.ui
@@ -76,7 +76,10 @@
                       <object class="GtkCellRendererText" id="secondary_padding"/>
                     </child>
                     <child>
-                      <object class="GtkCellRendererPixbuf" id="app_icon"/>
+                      <object class="GtkCellRendererPixbuf" id="app_icon">
+                        <property name="width">24</property>
+                        <property name="height">24</property>
+                      </object>
                       <attributes>
                         <attribute name="gicon">1</attribute>
                       </attributes>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]