[Glade-devel] GtkImage, and pixbuf eprop bugfix



This pach fixes this two annoying problems

a) pixbuf eprop bug:
        glade_eprop_resource_entry_activate() was calling
glade_eprop_resource_entry_activate() with an empty string instead of
NULL so you cant set back a pixbuf prop to NULL and if you do not even
change the value when the focus goes out you get a dot as the filename.

maybe we should check for empty strings
inglade_property_class_make_object_from_string() and return NULL

b) GtkImage:
        When you do a paste of a gtkimage that is being edited as filename,
glade-stock reset stock prop to gtk-missing-image :S

greets

Juan Pablo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pixbufs.patch
Type: text/x-patch
Size: 1944 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/glade-devel/attachments/20070926/25561d94/attachment.bin 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]