diff options
author | Tristan Van Berkom <tvb@src.gnome.org> | 2008-10-28 06:11:11 +0000 |
---|---|---|
committer | Tristan Van Berkom <tvb@src.gnome.org> | 2008-10-28 06:11:11 +0000 |
commit | 936511a43d9d3abfc06080781fc98383fac71861 (patch) | |
tree | fad8a03249b153c724d9cdcf0393270d3f133078 /gladeui/glade-property.c | |
parent | e86dd963abcd73552f07f84ae8d569af1343a481 (diff) | |
download | glade-936511a43d9d3abfc06080781fc98383fac71861.tar.gz |
Fixed bugs around load/save of button/imagemenuitem label (stock driven)
* gladeui/glade-gtk.c: Fixed bugs around load/save of button/imagemenuitem
label (stock driven) properties.
* plugins/gtk+/glade-image-item-editor.c: Fixed a null dereference, glade_command_create()
sometimes ends up changeing the selection, so the editable may be reloaded in the
midst of its flow.
* gladeui/glade-property.c, gladeui/glade-widget-adaptor.c: Now check for pclass->save
and pclass->enabled *before* calling glade_property_write(), this allows plugins to
mark props as save="False" and save those properties with custom values, still allowing
them to use the GladeProperty api.
svn path=/trunk/; revision=2007
Diffstat (limited to 'gladeui/glade-property.c')
-rw-r--r-- | gladeui/glade-property.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gladeui/glade-property.c b/gladeui/glade-property.c index adf59846..1a4da2ec 100644 --- a/gladeui/glade-property.c +++ b/gladeui/glade-property.c @@ -1111,9 +1111,6 @@ glade_property_write (GladeProperty *property, glade_xml_node_verify_silent (node, GLADE_XML_TAG_WIDGET (fmt)))) return; - if (!property->klass->save || !property->enabled) - return; - /* Dont write unsupported properties */ if ((fmt == GLADE_PROJECT_FORMAT_GTKBUILDER && property->klass->libglade_only) || |