aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorSivaiah Nallagatla <snallagatla@novell.com>2005-01-18 14:32:04 +0800
committerSivaiah Nallagatla <siva@src.gnome.org>2005-01-18 14:32:04 +0800
commita4e552d62748ca43a43c23032534b71cc2b1e842 (patch)
treed054ba03a69186396a7dddcf94ff59321b6c7f18 /addressbook
parent3938735187babf87aa9fed31e905e35bb9dde559 (diff)
downloadgsoc2013-evolution-a4e552d62748ca43a43c23032534b71cc2b1e842.tar.gz
gsoc2013-evolution-a4e552d62748ca43a43c23032534b71cc2b1e842.tar.zst
gsoc2013-evolution-a4e552d62748ca43a43c23032534b71cc2b1e842.zip
show "other" when email does not carry "TYPE" (fill_in_email) : pass
2005-01-17 Sivaiah Nallagatla <snallagatla@novell.com> * gui/contact-editor/e-contact-editor.c (fill_in_email_record) : show "other" when email does not carry "TYPE" (fill_in_email) : pass deafult email types instead of -1 when clearing fields Fixes #70922 svn path=/trunk/; revision=28427
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog10
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c4
2 files changed, 12 insertions, 2 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 28a6388109..6af6d0fc01 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,13 @@
+2005-01-17 Sivaiah Nallagatla <snallagatla@novell.com>
+
+ * gui/contact-editor/e-contact-editor.c
+ (fill_in_email_record) : show "other" when email
+ does not carry "TYPE"
+ (fill_in_email) : pass deafult email
+ types instead of -1 when clearing fields
+
+ Fixes #70922
+
2005-01-17 Hao Sheng <hao.sheng@sun.com>
* gui/contact-editor/contact-editor.glade:
diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c
index 22b9919535..61e3690ce0 100644
--- a/addressbook/gui/contact-editor/e-contact-editor.c
+++ b/addressbook/gui/contact-editor/e-contact-editor.c
@@ -684,7 +684,7 @@ fill_in_email_record (EContactEditor *editor, gint record, const gchar *address,
g_free (widget_name);
set_option_menu_history (editor, GTK_OPTION_MENU (location_option_menu),
- location >= 0 ? location : email_default [record - 1]);
+ location >= 0 ? location : email_default [2]);
set_entry_text (editor, GTK_ENTRY (email_entry), address ? address : "");
}
@@ -885,7 +885,7 @@ fill_in_email (EContactEditor *editor)
/* Clear */
for (record_n = 1; record_n <= EMAIL_SLOTS; record_n++) {
- fill_in_email_record (editor, record_n, NULL, -1);
+ fill_in_email_record (editor, record_n, NULL, email_default [record_n - 1]);
}
/* Fill in */