summaryrefslogtreecommitdiff
path: root/plugins/gtk+/gtk+.xml.in
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.van.berkom@gmail.com>2009-04-18 16:27:11 -0400
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2009-04-18 16:27:11 -0400
commitec6f436fb257a3ecb0888fb0ebc056f0b0427045 (patch)
tree9bbbdb4f0b9a5df648dfab9620494f1ea4068571 /plugins/gtk+/gtk+.xml.in
parent702933ef37955e06542ba7541db0a5ed5f3ea63a (diff)
downloadglade-ec6f436fb257a3ecb0888fb0ebc056f0b0427045.tar.gz
* plugins/gtk+/gtk+.xml.in: Fixed GtkButton to only allow real stock items,
gave GtkImage a default icon-size of GTK_ICON_SIZE_BUTTON (better than invalid).
Diffstat (limited to 'plugins/gtk+/gtk+.xml.in')
-rw-r--r--plugins/gtk+/gtk+.xml.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/gtk+/gtk+.xml.in b/plugins/gtk+/gtk+.xml.in
index c9aa0926..ef26d473 100644
--- a/plugins/gtk+/gtk+.xml.in
+++ b/plugins/gtk+/gtk+.xml.in
@@ -989,7 +989,7 @@ embedded in another object</_tooltip>
<visible-lines>2</visible-lines>
</property>
<property id="use-underline" custom-layout="True"/>
- <property id="stock" _name="Stock Button" stock-icon="True" save="False" custom-layout="True">
+ <property id="stock" _name="Stock Button" stock="True" save="False" custom-layout="True">
<parameter-spec>
<type>GParamString</type>
</parameter-spec>
@@ -1273,7 +1273,8 @@ embedded in another object</_tooltip>
<property id="pixbuf" _name="File Name" custom-layout="True"/>
<property id="pixel-size" custom-layout="True"/>
<!-- We have to save/load icon-size as int, and fake the enum -->
- <property id="icon-size" _name="Icon Size" custom-layout="True" save="False">
+ <property id="icon-size" _name="Icon Size" custom-layout="True"
+ default="GTK_ICON_SIZE_BUTTON" save="False">
<parameter-spec>
<type>GParamEnum</type>
<value-type>GtkIconSize</value-type>