From 32771dcb635711acda8030b39c4141deeef95406 Mon Sep 17 00:00:00 2001 From: Sivaiah Nallagatla Date: Tue, 9 Mar 2004 08:11:26 +0000 Subject: fixed type in contact editor code to make email ui building work svn path=/trunk/; revision=24996 --- addressbook/ChangeLog | 4 ++++ addressbook/gui/contact-editor/e-contact-editor.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 712f6a5c67..4d930d85c6 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,7 @@ +2004-03-08 Sivaiah Nallagatla + * gui/contact-editor/e-contact-editor.c (enable_writable_fields): + fixed a typo, which is causing probelm in building up email ui + 2004-03-04 Sivaiah Nallagatla * gui/component/addressbook-config.c : diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c index 8a7c92e371..5d213fa543 100644 --- a/addressbook/gui/contact-editor/e-contact-editor.c +++ b/addressbook/gui/contact-editor/e-contact-editor.c @@ -3107,7 +3107,7 @@ enable_writable_fields(EContactEditor *editor) e_contact_editor_build_email_ui (editor); for (i = 0; i < G_N_ELEMENTS (emails); i ++) g_hash_table_insert (dropdown_hash, - (char*)e_contact_field_name(phones[i]), + (char*)e_contact_field_name(emails[i]), editor->email_info[i].widget); e_contact_editor_build_address_ui (editor); for (i = E_CONTACT_FIRST_ADDRESS_ID; i <= E_CONTACT_LAST_ADDRESS_ID; i ++) -- cgit