diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/groupwise-features/ChangeLog | 7 | ||||
-rw-r--r-- | plugins/groupwise-features/proxy.c | 9 |
2 files changed, 15 insertions, 1 deletions
diff --git a/plugins/groupwise-features/ChangeLog b/plugins/groupwise-features/ChangeLog index 3e60bc74e3..da6d28bd9a 100644 --- a/plugins/groupwise-features/ChangeLog +++ b/plugins/groupwise-features/ChangeLog @@ -1,3 +1,10 @@ +2005-09-28 Sankar P <psankar@novell.com> + + * proxy.c (proxy_dialog_store_widgets_data): + Added code to handle the extra blank email that will be returned + from the ENameSelector, while auto-completion. + Fixes #317400 + 2005-09-27 Vivek Jain <jvivek@novell.com> * install-shared.c: (accept_clicked): diff --git a/plugins/groupwise-features/proxy.c b/plugins/groupwise-features/proxy.c index 6e14c6ab98..e3d68ab608 100644 --- a/plugins/groupwise-features/proxy.c +++ b/plugins/groupwise-features/proxy.c @@ -347,7 +347,10 @@ proxy_dialog_store_widgets_data (EAccount *account, gint32 dialog) email = NULL; email = (char *)e_destination_get_email (tmp->data); - if (g_strrstr (email, "@") == NULL ) { + if (g_str_equal(email, "")) + continue; + + if (g_strrstr (email, "@") == NULL) { e_error_run (NULL, "org.gnome.evolution.proxy:invalid-user", email, NULL); return -1; } @@ -382,6 +385,10 @@ proxy_dialog_store_widgets_data (EAccount *account, gint32 dialog) for (; tmp != NULL; tmp = g_list_next (tmp)) { name = NULL; email = NULL; email = (char *) e_destination_get_email (tmp->data); + + if (g_str_equal(email, "")) + continue; + name = (char *) e_destination_get_name (tmp->data); new_proxy = (proxyHandler *) g_malloc (sizeof (proxyHandler)); |