diff options
Diffstat (limited to 'addressbook')
-rw-r--r-- | addressbook/ChangeLog | 5 | ||||
-rw-r--r-- | addressbook/backend/ebook/e-card.c | 3 |
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 ) |