[glade] Avoid box stuff leaking through for the color chooser



commit fd7d3f834a2a327db634b5e883a66af6c246e4f4
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Nov 10 13:34:59 2014 -0500

    Avoid box stuff leaking through for the color chooser

 plugins/gtk+/gtk+.xml.in |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/plugins/gtk+/gtk+.xml.in b/plugins/gtk+/gtk+.xml.in
index 48b2e4d..4b5a426 100644
--- a/plugins/gtk+/gtk+.xml.in
+++ b/plugins/gtk+/gtk+.xml.in
@@ -3151,7 +3151,18 @@
       </glade-widget-class>
       
       <glade-widget-class name="GtkColorChooserWidget" generic-name="colorchooserwidget"
-                       _title="Color Chooser Widget" icon-name="widget-gtk-colorselection" since="3.4"/>
+                       _title="Color Chooser Widget" icon-name="widget-gtk-colorselection" since="3.4">
+        <properties>
+          <!-- Disable GtkBox stuff -->
+          <property id="size" disabled="True"/>
+          <property id="homogeneous" disabled="True"/>
+          <property id="orientation" disabled="True"/>
+          <property id="spacing" disabled="True"/>
+          <property id="baseline-position" disabled="True"/>
+        </properties>
+      
+      </glade-widget-class>
+
       <glade-widget-class name="GtkColorChooserDialog" generic-name="colorchooserdialog"
                        _title="Color Chooser Dialog" icon-name="widget-gtk-colorselectiondialog" 
since="3.4"/>
       <glade-widget-class name="GtkFontChooserWidget" generic-name="fontchooserwidget"


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