diff options
author | Juan Pablo Ugarte <jpu@src.gnome.org> | 2007-06-26 20:34:19 +0000 |
---|---|---|
committer | Juan Pablo Ugarte <jpu@src.gnome.org> | 2007-06-26 20:34:19 +0000 |
commit | f808abe87cef647810dcf2415642735e27b75eb0 (patch) | |
tree | 41e3493ac7c5a6aece6503794b511aaa32b748dc /plugins/gtk+/glade-gtk.c | |
parent | 475909cac3d58395a2f5db76bc378dec376a6947 (diff) | |
download | glade-f808abe87cef647810dcf2415642735e27b75eb0.tar.gz |
print a message for missing displayable values in
* gladeui/glade-property-class.c: print a message for missing displayable values in
glade_property_class_update_from_node() and gpc_get_displayable_values_from_node()
* plugins/gtk+/glade-gtk.c: removed inline displayable values in
glade_gtk_image_type_get_type() and glade_gtk_button_type_get_type()
* plugins/gtk+/gtk+.xml.in: added missing displayable values in GtkToolButton::glade-type,
GtkButton::glade-type, GtkImage::glade-type and GtkArrow::arrow-type
svn path=/trunk/; revision=1398
Diffstat (limited to 'plugins/gtk+/glade-gtk.c')
-rw-r--r-- | plugins/gtk+/glade-gtk.c | 18 |
1 files changed, 6 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); } |