aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/contact-editor/e-contact-editor.h
diff options
context:
space:
mode:
authorHans Petter Jansson <hpj@ximian.com>2003-12-16 12:39:28 +0800
committerHans Petter <hansp@src.gnome.org>2003-12-16 12:39:28 +0800
commit43a4d2fdf4b26001824aaf318c146ff8ee0e6aab (patch)
tree8a9c9623e24b6fb382a7642ba2ff68480c28932f /addressbook/gui/contact-editor/e-contact-editor.h
parent410f4530e4fdeb5ecaee2f3a53e763997662821e (diff)
downloadgsoc2013-evolution-43a4d2fdf4b26001824aaf318c146ff8ee0e6aab.tar
gsoc2013-evolution-43a4d2fdf4b26001824aaf318c146ff8ee0e6aab.tar.gz
gsoc2013-evolution-43a4d2fdf4b26001824aaf318c146ff8ee0e6aab.tar.bz2
gsoc2013-evolution-43a4d2fdf4b26001824aaf318c146ff8ee0e6aab.tar.lz
gsoc2013-evolution-43a4d2fdf4b26001824aaf318c146ff8ee0e6aab.tar.xz
gsoc2013-evolution-43a4d2fdf4b26001824aaf318c146ff8ee0e6aab.tar.zst
gsoc2013-evolution-43a4d2fdf4b26001824aaf318c146ff8ee0e6aab.zip
Implement. (text_to_address): Implement, using EAddressWestern.
2003-12-15 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/e-contact-editor.c (address_to_text): Implement. (text_to_address): Implement, using EAddressWestern. (address_text_changed): Adapt to EContactAddress. (full_addr_clicked): Ditto. Fix field IDs. (e_contact_editor_init): Init address_choice. (_email_arrow_pressed): Fix field IDs. (_address_arrow_pressed): Adapt to EContactAddress and fix field IDs. (find_address_mailing): Leave out for now. Addresses don't have flags anymore... (set_fields): Adapt to EContactAddress and fix field IDs. Make sure changes to other widgets don't make us go back to the first listed address. (set_address_field): Adapt to EContactAddress and fix field IDs. (enable_writable_fields): Ditto. (fill_in_info): Disable find_address_mailing () for now. svn path=/trunk/; revision=23947
Diffstat (limited to 'addressbook/gui/contact-editor/e-contact-editor.h')
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-editor.h b/addressbook/gui/contact-editor/e-contact-editor.h
index 27baa9f0fc..7b404945f8 100644
--- a/addressbook/gui/contact-editor/e-contact-editor.h
+++ b/addressbook/gui/contact-editor/e-contact-editor.h
@@ -79,7 +79,7 @@ struct _EContactEditor
EContactField phone_choice[4];
EContactField address_choice;
EContactField address_mailing;
-
+
/* Whether we are editing a new contact or an existing one */
guint is_new_contact : 1;
@@ -92,10 +92,8 @@ struct _EContactEditor
/* Whether the fullname will accept modifications */
guint fullname_editable : 1;
-#if notyet
/* Whether each of the addresses are editable */
- gboolean address_editable[E_CARD_SIMPLE_ADDRESS_ID_LAST];
-#endif
+ gboolean address_editable [E_CONTACT_LAST_ADDRESS_ID - E_CONTACT_FIRST_ADDRESS_ID + 1];
/* Whether an async wombat call is in progress */
guint in_async_call : 1;