aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/ebook
diff options
context:
space:
mode:
authorChris Toshok <toshok@helixcode.com>2001-01-10 06:17:22 +0800
committerChris Toshok <toshok@src.gnome.org>2001-01-10 06:17:22 +0800
commit3c979919b1c8045827767b3e4fa3269cffb87b83 (patch)
treea0eb1cfdefe3c77ff4a62e163a41fc7c9f477dbd /addressbook/backend/ebook
parentae70268af9521c3ec911b0361e3d943c5acc8a90 (diff)
downloadgsoc2013-evolution-3c979919b1c8045827767b3e4fa3269cffb87b83.tar
gsoc2013-evolution-3c979919b1c8045827767b3e4fa3269cffb87b83.tar.gz
gsoc2013-evolution-3c979919b1c8045827767b3e4fa3269cffb87b83.tar.bz2
gsoc2013-evolution-3c979919b1c8045827767b3e4fa3269cffb87b83.tar.lz
gsoc2013-evolution-3c979919b1c8045827767b3e4fa3269cffb87b83.tar.xz
gsoc2013-evolution-3c979919b1c8045827767b3e4fa3269cffb87b83.tar.zst
gsoc2013-evolution-3c979919b1c8045827767b3e4fa3269cffb87b83.zip
if we're setting the full name regenerate ecard->name.
2001-01-09 Chris Toshok <toshok@helixcode.com> * backend/ebook/e-card.c (e_card_set_arg): if we're setting the full name regenerate ecard->name. svn path=/trunk/; revision=7342
Diffstat (limited to 'addressbook/backend/ebook')
-rw-r--r--addressbook/backend/ebook/e-card.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/addressbook/backend/ebook/e-card.c b/addressbook/backend/ebook/e-card.c
index 9f74b928fc..b48d2d44f7 100644
--- a/addressbook/backend/ebook/e-card.c
+++ b/addressbook/backend/ebook/e-card.c
@@ -1436,6 +1436,9 @@ e_card_set_arg (GtkObject *object, GtkArg *arg, guint arg_id)
case ARG_FULL_NAME:
g_free(card->fname);
card->fname = g_strdup(GTK_VALUE_STRING(*arg));
+ if (card->name)
+ e_card_name_free (card->name);
+ card->name = e_card_name_from_string (card->fname);
break;
case ARG_NAME:
if ( card->name )