aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/contact-editor/e-contact-editor.h
diff options
context:
space:
mode:
authorSivaiah Nallagatla <snallagatla@novell.com>2004-11-29 03:49:48 +0800
committerSivaiah Nallagatla <siva@src.gnome.org>2004-11-29 03:49:48 +0800
commit8f5eddf80f57269815396e8821347a27aeff2505 (patch)
treed1a008ee3499ac4c8211052526633ca1fe709f88 /addressbook/gui/contact-editor/e-contact-editor.h
parenteef595a9ceb4d1b5ce063ce40e8b11b71878628a (diff)
downloadgsoc2013-evolution-8f5eddf80f57269815396e8821347a27aeff2505.tar
gsoc2013-evolution-8f5eddf80f57269815396e8821347a27aeff2505.tar.gz
gsoc2013-evolution-8f5eddf80f57269815396e8821347a27aeff2505.tar.bz2
gsoc2013-evolution-8f5eddf80f57269815396e8821347a27aeff2505.tar.lz
gsoc2013-evolution-8f5eddf80f57269815396e8821347a27aeff2505.tar.xz
gsoc2013-evolution-8f5eddf80f57269815396e8821347a27aeff2505.tar.zst
gsoc2013-evolution-8f5eddf80f57269815396e8821347a27aeff2505.zip
Define new list for storing required fields
2004-11-28 Sivaiah Nallagatla <snallagatla@novell.com> * gui/contact-editor/e-contact-editor.h : Define new list for storing required fields * gui/contact-editor/e-contact-editor.c (e_contact_editor_class_init) : install new REQUIRED_FIELDS property (e_contact_editor_set_property) (e_contact_editor_get_property) : added handling for new RQUIRED_FIELDS_PROPERTY (e_contact_editor_dispose) : unref the new required_fields member (required_fields_cb) : call back to set required fields into contact editor (is_non_string_field) : new method to detect whether a particular field in contact is a string or not (e_contact_editor_is_valid) : check for presence of all required fields (save_contact) : extract all the data before calling e_contact_editor_is_valid so that it can check for required fields. Clean up the contact if there is an error svn path=/trunk/; revision=28007
Diffstat (limited to 'addressbook/gui/contact-editor/e-contact-editor.h')
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-editor.h b/addressbook/gui/contact-editor/e-contact-editor.h
index 6474e3c3a0..b27790d32a 100644
--- a/addressbook/gui/contact-editor/e-contact-editor.h
+++ b/addressbook/gui/contact-editor/e-contact-editor.h
@@ -89,6 +89,8 @@ struct _EContactEditor
guint in_async_call : 1;
EList *writable_fields;
+
+ EList *required_fields;
/* ID for async load_source call */
guint load_source_id;