diff options
author | JP Rosevear <jpr@ximian.com> | 2001-10-31 00:17:48 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2001-10-31 00:17:48 +0800 |
commit | bff44ae49b2aebf52cae6f830bcf9c521e9071ba (patch) | |
tree | b9ca94721c3484ad35c2de989b9eb4ace1e1b8b9 /addressbook | |
parent | b57629aa8243f9123706c770843e99fefced824c (diff) | |
download | gsoc2013-evolution-bff44ae49b2aebf52cae6f830bcf9c521e9071ba.tar gsoc2013-evolution-bff44ae49b2aebf52cae6f830bcf9c521e9071ba.tar.gz gsoc2013-evolution-bff44ae49b2aebf52cae6f830bcf9c521e9071ba.tar.bz2 gsoc2013-evolution-bff44ae49b2aebf52cae6f830bcf9c521e9071ba.tar.lz gsoc2013-evolution-bff44ae49b2aebf52cae6f830bcf9c521e9071ba.tar.xz gsoc2013-evolution-bff44ae49b2aebf52cae6f830bcf9c521e9071ba.tar.zst gsoc2013-evolution-bff44ae49b2aebf52cae6f830bcf9c521e9071ba.zip |
make sure to translate the character sets of the names
2001-10-30 JP Rosevear <jpr@ximian.com>
* conduit/address-conduit.c (ecard_from_remote_record): make sure
to translate the character sets of the names
svn path=/trunk/; revision=14463
Diffstat (limited to 'addressbook')
-rw-r--r-- | addressbook/ChangeLog | 4 | ||||
-rw-r--r-- | addressbook/conduit/address-conduit.c | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 4af68a4032..779eaec546 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,5 +1,9 @@ 2001-10-30 JP Rosevear <jpr@ximian.com> + * conduit/address-conduit.c (ecard_from_remote_record): make sure + to translate the character sets of the names + +2001-10-30 JP Rosevear <jpr@ximian.com> * gui/component/select-names/e-select-names-bonobo.c (manager_ok_cb): send a null bonobo arg to prevent explosion diff --git a/addressbook/conduit/address-conduit.c b/addressbook/conduit/address-conduit.c index ffbcaa2343..16a6a14e98 100644 --- a/addressbook/conduit/address-conduit.c +++ b/addressbook/conduit/address-conduit.c @@ -856,10 +856,8 @@ ecard_from_remote_record(EAddrConduitContext *ctxt, /* Name */ name = e_card_name_copy (ecard->name); - if (address.entry[entryFirstname] && *address.entry[entryFirstname]) - name->given = g_strdup (address.entry[entryFirstname]); - if (address.entry[entryLastname] && *address.entry[entryLastname]) - name->family = g_strdup (address.entry[entryLastname]); + name->given = get_entry_text (address, entryFirstname); + name->family = get_entry_text (address, entryLastname); simple = e_card_simple_new (ecard); txt = e_card_name_to_string (name); |