aboutsummaryrefslogtreecommitdiffstats
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
parentae70268af9521c3ec911b0361e3d943c5acc8a90 (diff)
downloadgsoc2013-evolution-3c979919b1c8045827767b3e4fa3269cffb87b83.tar.gz
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
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/backend/ebook/e-card.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 14913b5c19..99b57ff51b 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
2001-01-04 Chris Toshok <toshok@helixcode.com>
* backend/ebook/e-book-listener.c
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 )