[gtk+] dialog: Add style classes



commit de90d5a4f8003fe37166a9bdea66c702f807dda4
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Jan 17 12:39:05 2014 -0500

    dialog: Add style classes
    
    These will be used in subsequent commits to better style
    message dialogs.

 gtk/gtkdialog.ui |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkdialog.ui b/gtk/gtkdialog.ui
index 2ff09b5..c03b8dd 100644
--- a/gtk/gtkdialog.ui
+++ b/gtk/gtkdialog.ui
@@ -17,13 +17,20 @@
       <object class="GtkBox" id="vbox">
         <property name="visible">True</property>
         <property name="can_focus">False</property>
+        <property name="border_width">0</property>
         <property name="orientation">vertical</property>
+        <style>
+          <class name="dialog-vbox"/>
+        </style>
         <child>
           <object class="GtkButtonBox" id="action_area">
             <property name="visible">True</property>
             <property name="can_focus">False</property>
             <property name="layout_style">end</property>
-          </object>
+            <style>
+              <class name="dialog-action-area"/>
+            </style>
+           </object>
           <packing>
             <property name="expand">False</property>
             <property name="fill">True</property>


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