[gtk+] Add a GtkFrame inside GtkActionBar



commit d3c28194017844945f3ba733b7e95c66ba6c2875
Author: Paolo Borelli <pborelli gnome org>
Date:   Tue Feb 18 21:34:00 2014 +0100

    Add a GtkFrame inside GtkActionBar
    
    This is needed to set a padding and draw a border since GtkBox does
    not honour css padding yet.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=724693

 gtk/resources/ui/gtkactionbar.ui |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/gtk/resources/ui/gtkactionbar.ui b/gtk/resources/ui/gtkactionbar.ui
index 5a6a198..8b796f8 100644
--- a/gtk/resources/ui/gtkactionbar.ui
+++ b/gtk/resources/ui/gtkactionbar.ui
@@ -8,15 +8,21 @@
         <property name="visible">True</property>
         <property name="can_focus">False</property>
         <child>
-          <object class="GtkBox" id="center_box">
+          <object class="GtkFrame" id="frame">
             <property name="visible">True</property>
-            <property name="orientation">horizontal</property>
             <property name="can_focus">False</property>
-            <property name="border_width">0</property>
-            <property name="spacing">6</property>
             <style>
               <class name="action-bar"/>
             </style>
+            <child>
+              <object class="GtkBox" id="center_box">
+                <property name="visible">True</property>
+                <property name="orientation">horizontal</property>
+                <property name="can_focus">False</property>
+                <property name="border_width">0</property>
+                <property name="spacing">6</property>
+              </object>
+            </child>
           </object>
         </child>
       </object>


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