aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-image-chooser.c
Commit message (Collapse)AuthorAgeFilesLines
* set image_buf/image_buf_size here instead of in all callers. also emit theChris Toshok2004-02-031-16/+20
| | | | | | | | | | | | | | | | 2004-02-02 Chris Toshok <toshok@ximian.com> * e-image-chooser.c (set_image_from_data): set image_buf/image_buf_size here instead of in all callers. also emit the "changed" signal here. (image_drag_data_received_cb): remove the copying to image_buf and emitting of "changed" from here. (e_image_chooser_set_from_file): only g_free (data) here if set_image_from_data failed. (e_image_chooser_set_image_data): copy the image data we're passed before calling set_image_data. free it if rv == FALSE. svn path=/trunk/; revision=24577
* add an alignment around the image. This might not be enough. hrm.Chris Toshok2004-01-311-21/+67
| | | | | | | | | | | | | 2004-01-30 Chris Toshok <toshok@ximian.com> * e-image-chooser.c (e_image_chooser_init): add an alignment around the image. This might not be enough. hrm. (set_image_from_data): handle the case where there's no image (image_height == image_width == 0). (e_image_chooser_get_image_data): new function. (e_image_chooser_set_image_data): new function. svn path=/trunk/; revision=24552
* abstract out the drag and droppable image widget from the contact listChris Toshok2004-01-311-0/+482
2004-01-30 Chris Toshok <toshok@ximian.com> * e-image-chooser.[ch]: abstract out the drag and droppable image widget from the contact list editor and stick it here. There's some code for a "Browse..." button here but it's not enabled. * Makefile.am (widgetsinclude_HEADERS): add e-image-chooser.h. (libemiscwidgets_la_SOURCES): add e-image-chooser.c svn path=/trunk/; revision=24549