aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/select-names
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-11-03 03:25:23 +0800
committerChris Lahey <clahey@src.gnome.org>2000-11-03 03:25:23 +0800
commitcf66e13de1b7f2ef58f7cbfe3b103b4e53de2522 (patch)
treecff6fd25f54144b51079580d6bcd3374a0e4525f /addressbook/gui/component/select-names
parent8c7438447597c08c47d6f6be94a3313d6787ee3f (diff)
downloadgsoc2013-evolution-cf66e13de1b7f2ef58f7cbfe3b103b4e53de2522.tar
gsoc2013-evolution-cf66e13de1b7f2ef58f7cbfe3b103b4e53de2522.tar.gz
gsoc2013-evolution-cf66e13de1b7f2ef58f7cbfe3b103b4e53de2522.tar.bz2
gsoc2013-evolution-cf66e13de1b7f2ef58f7cbfe3b103b4e53de2522.tar.lz
gsoc2013-evolution-cf66e13de1b7f2ef58f7cbfe3b103b4e53de2522.tar.xz
gsoc2013-evolution-cf66e13de1b7f2ef58f7cbfe3b103b4e53de2522.tar.zst
gsoc2013-evolution-cf66e13de1b7f2ef58f7cbfe3b103b4e53de2522.zip
Removed these unnecessary .cvsignores.
2000-11-02 Christopher James Lahey <clahey@helixcode.com> * 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
Diffstat (limited to 'addressbook/gui/component/select-names')
-rw-r--r--addressbook/gui/component/select-names/e-select-names.c4
1 files changed, 1 insertions, 3 deletions
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("");
}