diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-11-03 03:25:23 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-11-03 03:25:23 +0800 |
commit | cf66e13de1b7f2ef58f7cbfe3b103b4e53de2522 (patch) | |
tree | cff6fd25f54144b51079580d6bcd3374a0e4525f /addressbook/gui/component/select-names/e-select-names.c | |
parent | 8c7438447597c08c47d6f6be94a3313d6787ee3f (diff) | |
download | gsoc2013-evolution-cf66e13de1b7f2ef58f7cbfe3b103b4e53de2522.tar.gz 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/e-select-names.c')
-rw-r--r-- | addressbook/gui/component/select-names/e-select-names.c | 4 |
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(""); } |