[gtk+] example: Make gears button square



commit 763250e04d2f088e355bb63181e6e7020ece1a5d
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Apr 17 12:39:07 2014 -0700

    example: Make gears button square
    
    Another application of image-button.

 examples/application10/window.ui |    3 +++
 examples/application8/window.ui  |    3 +++
 examples/application9/window.ui  |    3 +++
 3 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/examples/application10/window.ui b/examples/application10/window.ui
index 1c9eeab..97a502a 100644
--- a/examples/application10/window.ui
+++ b/examples/application10/window.ui
@@ -55,6 +55,9 @@
             <child>
               <object class="GtkMenuButton" id="gears">
                 <property name="visible">True</property>
+                <style>
+                  <class name="image-button"/>
+                </style>
                 <child>
                   <object class="GtkImage" id="gears-icon">
                     <property name="visible">True</property>
diff --git a/examples/application8/window.ui b/examples/application8/window.ui
index 36a8ca4..674327d 100644
--- a/examples/application8/window.ui
+++ b/examples/application8/window.ui
@@ -41,6 +41,9 @@
             <child>
               <object class="GtkMenuButton" id="gears">
                 <property name="visible">True</property>
+                <style>
+                  <class name="image-button"/>
+                </style>
                 <child>
                   <object class="GtkImage" id="gears-icon">
                     <property name="visible">True</property>
diff --git a/examples/application9/window.ui b/examples/application9/window.ui
index d3f54d1..0713c36 100644
--- a/examples/application9/window.ui
+++ b/examples/application9/window.ui
@@ -58,6 +58,9 @@
             <child>
               <object class="GtkMenuButton" id="gears">
                 <property name="visible">True</property>
+                <style>
+                  <class name="image-button"/>
+                </style>
                 <child>
                   <object class="GtkImage" id="gears-icon">
                     <property name="visible">True</property>


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