aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/select-names/e-select-names-popup.c
diff options
context:
space:
mode:
authorJon Trowbridge <trow@src.gnome.org>2001-07-07 14:39:30 +0800
committerJon Trowbridge <trow@src.gnome.org>2001-07-07 14:39:30 +0800
commitf9e0870bb8f2cee522b1d74d8d430cd898a420e5 (patch)
treeafe1ea372bafca21d8f328fd861305919fcc97a0 /addressbook/gui/component/select-names/e-select-names-popup.c
parentda9c4d10641eed27263f12c7415100348991ef32 (diff)
downloadgsoc2013-evolution-f9e0870bb8f2cee522b1d74d8d430cd898a420e5.tar
gsoc2013-evolution-f9e0870bb8f2cee522b1d74d8d430cd898a420e5.tar.gz
gsoc2013-evolution-f9e0870bb8f2cee522b1d74d8d430cd898a420e5.tar.bz2
gsoc2013-evolution-f9e0870bb8f2cee522b1d74d8d430cd898a420e5.tar.lz
gsoc2013-evolution-f9e0870bb8f2cee522b1d74d8d430cd898a420e5.tar.xz
gsoc2013-evolution-f9e0870bb8f2cee522b1d74d8d430cd898a420e5.tar.zst
gsoc2013-evolution-f9e0870bb8f2cee522b1d74d8d430cd898a420e5.zip
CVS is unhappy this evening. My commit keeps dying in the middle.
svn path=/trunk/; revision=10883
Diffstat (limited to 'addressbook/gui/component/select-names/e-select-names-popup.c')
-rw-r--r--addressbook/gui/component/select-names/e-select-names-popup.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/addressbook/gui/component/select-names/e-select-names-popup.c b/addressbook/gui/component/select-names/e-select-names-popup.c
index fb05ff686a..aa668884c2 100644
--- a/addressbook/gui/component/select-names/e-select-names-popup.c
+++ b/addressbook/gui/component/select-names/e-select-names-popup.c
@@ -216,7 +216,6 @@ popup_menu_card (PopupInfo *info)
gint i=0;
GtkWidget *pop;
EIterator *iterator;
- gchar *name_str;
gint html_toggle;
/*
@@ -227,10 +226,9 @@ popup_menu_card (PopupInfo *info)
memset (radioinfo, 0, sizeof (radioinfo));
card = e_destination_get_card (info->dest);
- name_str = e_card_name_to_string (card->name);
uiinfo[i].type = GNOME_APP_UI_ITEM;
- uiinfo[i].label = name_str;
+ uiinfo[i].label = (gchar *) e_destination_get_name (info->dest);
++i;
uiinfo[i].type = GNOME_APP_UI_SEPARATOR;
@@ -290,7 +288,6 @@ popup_menu_card (PopupInfo *info)
*/
pop = gnome_popup_menu_new (uiinfo);
- g_free (name_str);
if (using_radio) {
gint n = e_destination_get_email_num (info->dest);
@@ -311,7 +308,7 @@ static void
quick_add_cb (GtkWidget *w, gpointer user_data)
{
PopupInfo *info = (PopupInfo *) user_data;
- e_contact_quick_add_free_form (e_destination_get_string (info->dest), NULL, NULL);
+ e_contact_quick_add_free_form (e_destination_get_address (info->dest), NULL, NULL);
}
static GtkWidget *
@@ -325,7 +322,7 @@ popup_menu_nocard (PopupInfo *info)
memset (uiinfo, 0, sizeof (uiinfo));
- str = e_destination_get_string (info->dest);
+ str = e_destination_get_name (info->dest);
uiinfo[i].type = GNOME_APP_UI_ITEM;
uiinfo[i].label = (gchar *) str;