From cf66e13de1b7f2ef58f7cbfe3b103b4e53de2522 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Thu, 2 Nov 2000 19:25:23 +0000 Subject: Removed these unnecessary .cvsignores. 2000-11-02 Christopher James Lahey * ename/.cvsignore, gui/minicard/.cvsignore: Removed these unnecessary .cvsignores. * gui/component/addressbook.c: Switch to using EAddressbookSearch instead of custom quick search widget. * gui/component/select-names/e-select-names.c: Made this do a slightly better job of rendering names. * gui/widgets/Makefile.am: Added e-addressbook-search.c and e-addressbook-search.h. * gui/widgets/e-addressbook-search.c, gui/widgets/e-addressbook-search.h: New class that puts up an entry and a combo box. svn path=/trunk/; revision=6356 --- addressbook/gui/component/select-names/e-select-names.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'addressbook/gui/component/select-names') diff --git a/addressbook/gui/component/select-names/e-select-names.c b/addressbook/gui/component/select-names/e-select-names.c index e0ff5f6519..ece38c5efe 100644 --- a/addressbook/gui/component/select-names/e-select-names.c +++ b/addressbook/gui/component/select-names/e-select-names.c @@ -254,11 +254,9 @@ button_clicked(GtkWidget *button, ESelectNamesChild *child) name = e_card_simple_get(simple, E_CARD_SIMPLE_FIELD_FULL_NAME); email = e_card_simple_get(simple, E_CARD_SIMPLE_FIELD_EMAIL); if (name && *name && email && *email) { - new.string = g_strdup_printf("%s <%s>", name, email); + new.string = g_strdup_printf("\"%s\" <%s>", name, email); } else if (email && *email) { new.string = g_strdup_printf("%s", email); - } else if (name && *name) { - new.string = g_strdup_printf("%s <>", name); } else { new.string = g_strdup(""); } -- cgit v1.2.3