[glade/glade-3-8] * plugins/gtk+/gtk+.xml.in: Disabling irrelevant properties for GtkScaleButton



commit 94995cb196255af8ab2742580a78ea64cf49aba3
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Sat Feb 5 16:29:47 2011 +0900

    	* plugins/gtk+/gtk+.xml.in: Disabling irrelevant properties for GtkScaleButton

 ChangeLog                |    4 ++++
 plugins/gtk+/gtk+.xml.in |    6 ++++++
 2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index eaf4fa6..deacd2e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-02-05  Tristan Van Berkom <tristanvb openismus com>
+
+	* plugins/gtk+/gtk+.xml.in: Disabling irrelevant properties for GtkScaleButton
+
 2011-02-03  Tristan Van Berkom <tristanvb openismus com>
 
 	* gladeui/glade-project.c: Fixed GladeProject to only ever report widgets that are
diff --git a/plugins/gtk+/gtk+.xml.in b/plugins/gtk+/gtk+.xml.in
index 9501671..b8946b0 100644
--- a/plugins/gtk+/gtk+.xml.in
+++ b/plugins/gtk+/gtk+.xml.in
@@ -1119,6 +1119,12 @@ embedded in another object</_tooltip>
 	    <value id="GTK_ICON_SIZE_DIALOG" _name="Dialog"/>
 	  </displayable-values>
 	</property>
+
+	<!-- These props dont apply to scale buttons -->
+	<property id="glade-type" disabled="True"/>
+	<property id="label" disabled="True"/>
+	<property id="use-underline" disabled="True"/>
+	<property id="stock" disabled="True"/>
       </properties>
     </glade-widget-class>
 



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