[gtk+] widget-factory: Add a missing style class



commit 7af9dc9e216ac463c525a523db2e5aef4015ebaa
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Aug 13 09:16:09 2014 -0400

    widget-factory: Add a missing style class
    
    Unfortunately, constructing image-only buttons by just adding
    the image as a child does not give us the image-button style
    class. Add it manually.

 demos/widget-factory/widget-factory.ui |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/demos/widget-factory/widget-factory.ui b/demos/widget-factory/widget-factory.ui
index f25e967..4c3b306 100644
--- a/demos/widget-factory/widget-factory.ui
+++ b/demos/widget-factory/widget-factory.ui
@@ -1998,6 +1998,9 @@ Suspendisse feugiat quam quis dolor accumsan cursus. </property>
                                 <property name="visible">True</property>
                                 <property name="focus-on-click">False</property>
                                 <property name="relief">none</property>
+                                <style>
+                                  <class name="image-button"/>
+                                </style>
                                 <child>
                                   <object class="GtkImage" id="page2dismissi">
                                     <property name="visible">True</property>


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