aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/contact-editor/e-contact-editor.h
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2004-02-18 15:30:06 +0800
committerChris Toshok <toshok@src.gnome.org>2004-02-18 15:30:06 +0800
commit88f39730dd7b2615ab78dbc53f7218a2a15787e0 (patch)
tree7715bb0ac99d7320566ce1bef958af26bfd22c53 /addressbook/gui/contact-editor/e-contact-editor.h
parent6e0ff07291e87dcd216aa2d39e33857ea5b45088 (diff)
downloadgsoc2013-evolution-88f39730dd7b2615ab78dbc53f7218a2a15787e0.tar.gz
gsoc2013-evolution-88f39730dd7b2615ab78dbc53f7218a2a15787e0.tar.zst
gsoc2013-evolution-88f39730dd7b2615ab78dbc53f7218a2a15787e0.zip
add image_set slot.
2004-02-17 Chris Toshok <toshok@ximian.com> * gui/contact-list-editor/e-contact-list-editor.h (struct _EContactListEditor): add image_set slot. * gui/contact-list-editor/e-contact-list-editor.c (list_image_changed_cb): set image_set = TRUE. (e_contact_list_editor_init): init image_set = FALSE (extract_info): only set the LOGO attribute if image_set = TRUE. * gui/contact-editor/e-contact-editor.h (struct _EContactEditor): add image_set slot. * gui/contact-editor/e-contact-editor.c (extract_info): only set the PHOTO attribute if image_set == TRUE. (image_chooser_changed): new function, set image_set = TRUE and call widget_changed. (e_contact_editor_init): init image_set to FALSE. (_address_arrow_pressed): quiet compiler. svn path=/trunk/; revision=24771
Diffstat (limited to 'addressbook/gui/contact-editor/e-contact-editor.h')
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-editor.h b/addressbook/gui/contact-editor/e-contact-editor.h
index 069cc7d0cc..220e2cf421 100644
--- a/addressbook/gui/contact-editor/e-contact-editor.h
+++ b/addressbook/gui/contact-editor/e-contact-editor.h
@@ -89,6 +89,9 @@ struct _EContactEditor
/* Whether we are editing a new contact or an existing one */
guint is_new_contact : 1;
+ /* Whether the image chooser widget has been changed. */
+ guint image_set : 1;
+
/* Whether the contact has been changed since bringing up the contact editor */
guint changed : 1;