aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/exchange-operations/ChangeLog7
-rw-r--r--plugins/exchange-operations/exchange-user-dialog.c6
2 files changed, 12 insertions, 1 deletions
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 <sragavan@novell.com>
+
+ ** 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 <mcrha@redhat.com>
** 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);