[evolution] Bug 619347 - Contact List Editor calls wrong EDestination function



commit 9a8b5041b60bc5136dd21efb2e07b1cb172bce12
Author: Matthew Barnes <mbarnes redhat com>
Date:   Mon Jun 21 10:58:38 2010 -0400

    Bug 619347 - Contact List Editor calls wrong EDestination function

 .../contact-list-editor/e-contact-list-editor.c    |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/addressbook/gui/contact-list-editor/e-contact-list-editor.c b/addressbook/gui/contact-list-editor/e-contact-list-editor.c
index 865cdbb..99ebfdd 100644
--- a/addressbook/gui/contact-list-editor/e-contact-list-editor.c
+++ b/addressbook/gui/contact-list-editor/e-contact-list-editor.c
@@ -651,7 +651,7 @@ contact_list_editor_email_entry_updated_cb (GtkWidget *widget,
 	entry = E_NAME_SELECTOR_ENTRY (widget);
 	model = E_CONTACT_LIST_MODEL (editor->priv->model);
 
-	email = g_strdup (e_destination_get_address (destination));
+	email = g_strdup (e_destination_get_textrep (destination, TRUE));
 	store = e_name_selector_entry_peek_destination_store (entry);
 	e_destination_store_remove_destination (store, destination);
 	gtk_entry_set_text (GTK_ENTRY (WIDGET (EMAIL_ENTRY)), "");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]