From 07bec7e9f84a24801a92a877dd023e770e8e3058 Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Mon, 10 Sep 2007 10:50:13 +0000 Subject: ** Fix for bug #301044 (Novell Bugzilla) svn path=/trunk/; revision=34213 --- plugins/exchange-operations/ChangeLog | 7 +++++++ plugins/exchange-operations/exchange-user-dialog.c | 6 +++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/plugins/exchange-operations/ChangeLog b/plugins/exchange-operations/ChangeLog index d5317d3958..8db2146ce8 100644 --- a/plugins/exchange-operations/ChangeLog +++ b/plugins/exchange-operations/ChangeLog @@ -1,3 +1,10 @@ +2007-09-10 Srinivasa Ragavan + + ** Fix for bug #301044 (Novell Bugzilla) + + * exchange-user-dialog.c: (e2k_user_dialog_get_user_list): Dont append + the comma from the Nameselector. + 2007-09-07 Milan Crha ** Fix for bug #473903 diff --git a/plugins/exchange-operations/exchange-user-dialog.c b/plugins/exchange-operations/exchange-user-dialog.c index 7668a22f31..75053af240 100644 --- a/plugins/exchange-operations/exchange-user-dialog.c +++ b/plugins/exchange-operations/exchange-user-dialog.c @@ -250,8 +250,12 @@ e2k_user_dialog_get_user_list (E2kUserDialog *dialog) return NULL; for (l = destinations; l; l = g_list_next (l)) { + char *mail; destination = l->data; - email_list = g_list_prepend (email_list, g_strdup (e_destination_get_email (destination))); + + mail = e_destination_get_email (destination); + if (mail && *mail) + email_list = g_list_prepend (email_list, g_strdup (mail)); } g_list_free (destinations); -- cgit v1.2.3