summaryrefslogtreecommitdiff
path: root/gladeui/glade-property.c
diff options
context:
space:
mode:
authorTristan Van Berkom <tvb@src.gnome.org>2008-10-25 18:15:48 +0000
committerTristan Van Berkom <tvb@src.gnome.org>2008-10-25 18:15:48 +0000
commitd8370a0b5b31b33c26a0ba7a47503e068d91e6a2 (patch)
tree7a1d086fa45f856e47f07bff47cc6183a66b122a /gladeui/glade-property.c
parent867115d53ece5c265886eb9187e3cbfefee8c52d (diff)
downloadglade-d8370a0b5b31b33c26a0ba7a47503e068d91e6a2.tar.gz
Ignore parent-changes on internal widgets (that causes problems when
* plugins/gtk+/glade-gtk.c: Ignore parent-changes on internal widgets (that causes problems when internal widgets get destroyed at project close time). * plugins/gtk+/glade-button-editor.c: Fixed custom/standard commands, now standard mode sets up a default label etc also. * gladeui/glade-project.c, gladeui/glade-property.c, gladeui/glade-widget.c, gladeui/glade-property-class.[ch], gladeui/glade-xml-utils.h: Removed hack for GtkToolButton:icon --> iconfactory (will do in glade-convert.c properly). svn path=/trunk/; revision=2000
Diffstat (limited to 'gladeui/glade-property.c')
-rw-r--r--gladeui/glade-property.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/gladeui/glade-property.c b/gladeui/glade-property.c
index 50a14577..adf59846 100644
--- a/gladeui/glade-property.c
+++ b/gladeui/glade-property.c
@@ -1151,25 +1151,6 @@ glade_property_write (GladeProperty *property,
g_free (tmp);
}
- /* Switch up the values if we are using GtkIconFactory in builder
- * to save some hacked out pixbufs
- */
- if (fmt == GLADE_PROJECT_FORMAT_GTKBUILDER &&
- property->klass->factory_stock_id)
- {
- gchar *icon_name;
-
- /* Create a string representation for the icon factory */
- icon_name = glade_util_filename_to_icon_name (value);
- g_free (value);
- value = icon_name;
-
- /* Use the alternate property name */
- g_free (name);
- name = g_strdup (property->klass->factory_stock_id);
- glade_util_replace (name, '-', '_');
- }
-
/* Now dump the node values... */
prop_node = glade_xml_node_new (context, GLADE_XML_TAG_PROPERTY);
glade_xml_node_append_child (node, prop_node);