summaryrefslogtreecommitdiff
path: root/plugins/gtk+
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/gtk+')
-rw-r--r--plugins/gtk+/glade-gtk.c18
-rw-r--r--plugins/gtk+/gtk+.xml.in16
2 files changed, 22 insertions, 12 deletions
diff --git a/plugins/gtk+/glade-gtk.c b/plugins/gtk+/glade-gtk.c
index a68a7f8d..7a48e8c5 100644
--- a/plugins/gtk+/glade-gtk.c
+++ b/plugins/gtk+/glade-gtk.c
@@ -178,14 +178,11 @@ glade_gtk_image_type_get_type (void)
static GType etype = 0;
if (etype == 0) {
static GEnumValue values[] = {
- { GLADEGTK_IMAGE_FILENAME, "a", "glade-gtk-image-filename" },
- { GLADEGTK_IMAGE_STOCK, "b", "glade-gtk-image-stock" },
- { GLADEGTK_IMAGE_ICONTHEME, "c", "glade-gtk-image-icontheme" },
+ { GLADEGTK_IMAGE_FILENAME, "GLADEGTK_IMAGE_FILENAME", "glade-gtk-image-filename" },
+ { GLADEGTK_IMAGE_STOCK, "GLADEGTK_IMAGE_STOCK", "glade-gtk-image-stock" },
+ { GLADEGTK_IMAGE_ICONTHEME, "GLADEGTK_IMAGE_ICONTHEME", "glade-gtk-image-icontheme" },
{ 0, NULL, NULL }
};
- values[GLADEGTK_IMAGE_FILENAME].value_name = _("Filename");
- values[GLADEGTK_IMAGE_STOCK].value_name = _("Stock");
- values[GLADEGTK_IMAGE_ICONTHEME].value_name = _("Icon Theme");
etype = g_enum_register_static ("GladeGtkImageType", values);
}
@@ -198,14 +195,11 @@ glade_gtk_button_type_get_type (void)
static GType etype = 0;
if (etype == 0) {
static GEnumValue values[] = {
- { GLADEGTK_BUTTON_LABEL, "a", "glade-gtk-button-label" },
- { GLADEGTK_BUTTON_STOCK, "b", "glade-gtk-button-stock" },
- { GLADEGTK_BUTTON_CONTAINER, "c", "glade-gtk-button-container" },
+ { GLADEGTK_BUTTON_LABEL, "GLADEGTK_BUTTON_LABEL", "glade-gtk-button-label" },
+ { GLADEGTK_BUTTON_STOCK, "GLADEGTK_BUTTON_STOCK", "glade-gtk-button-stock" },
+ { GLADEGTK_BUTTON_CONTAINER, "GLADEGTK_BUTTON_CONTAINER", "glade-gtk-button-container" },
{ 0, NULL, NULL }
};
- values[GLADEGTK_BUTTON_LABEL].value_name = _("Label");
- values[GLADEGTK_BUTTON_STOCK].value_name = _("Stock");
- values[GLADEGTK_BUTTON_CONTAINER].value_name = _("Container");
etype = g_enum_register_static ("GladeGtkButtonType", values);
}
diff --git a/plugins/gtk+/gtk+.xml.in b/plugins/gtk+/gtk+.xml.in
index 5d6fe38a..6fda04e6 100644
--- a/plugins/gtk+/gtk+.xml.in
+++ b/plugins/gtk+/gtk+.xml.in
@@ -463,6 +463,11 @@ embedded in another object</_tooltip>
<property id="label-widget" disabled="True"/>
<property id="glade-type" _name="Image Type" save="False">
<spec>glade_gtk_image_type_spec</spec>
+ <displayable-values>
+ <value id="GLADEGTK_IMAGE_FILENAME" _name="Filename"/>
+ <value id="GLADEGTK_IMAGE_STOCK" _name="Stock"/>
+ <value id="GLADEGTK_IMAGE_ICONTHEME" _name="Icon Theme"/>
+ </displayable-values>
</property>
<property id="glade-stock" _name="Stock Image" save="False">
<spec>glade_standard_stock_image_spec</spec>
@@ -619,6 +624,11 @@ embedded in another object</_tooltip>
<property id="glade-type" _name="Edit Type" save="False" weight="0">
<spec>glade_gtk_button_type_spec</spec>
+ <displayable-values>
+ <value id="GLADEGTK_BUTTON_LABEL" _name="Label"/>
+ <value id="GLADEGTK_BUTTON_STOCK" _name="Stock"/>
+ <value id="GLADEGTK_BUTTON_CONTAINER" _name="Container"/>
+ </displayable-values>
</property>
<property id="response-id" _name="Response ID" default="0" common="False" ignore="True" save-always="True">
@@ -841,6 +851,11 @@ embedded in another object</_tooltip>
<property id="stock" visible="False" default="gtk-missing-image"/>
<property id="glade-type" _name="Edit Type" save="False" weight="0">
<spec>glade_gtk_image_type_spec</spec>
+ <displayable-values>
+ <value id="GLADEGTK_IMAGE_FILENAME" _name="Filename"/>
+ <value id="GLADEGTK_IMAGE_STOCK" _name="Stock"/>
+ <value id="GLADEGTK_IMAGE_ICONTHEME" _name="Icon Theme"/>
+ </displayable-values>
</property>
<property id="pixbuf-animation" disabled="True"/>
<property id="file" disabled="True"/>
@@ -1126,6 +1141,7 @@ embedded in another object</_tooltip>
<value id="GTK_ARROW_DOWN" _name="Down"/>
<value id="GTK_ARROW_LEFT" _name="Left"/>
<value id="GTK_ARROW_RIGHT" _name="Right"/>
+ <value id="GTK_ARROW_NONE" _name="None"/>
</displayable-values>
</property>
<property id="shadow-type">