diff options
author | JP Rosevear <jpr@ximian.com> | 2001-10-02 07:58:13 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2001-10-02 07:58:13 +0800 |
commit | c23b30b3bc35a1312b6ee0cffe79d99585835ed5 (patch) | |
tree | a0dff66ab33b50d3b246fe28d57592a7375b1dac /addressbook/conduit | |
parent | f41afabb336730bb1259c7a95b55c31416c1a38f (diff) | |
download | gsoc2013-evolution-c23b30b3bc35a1312b6ee0cffe79d99585835ed5.tar.gz gsoc2013-evolution-c23b30b3bc35a1312b6ee0cffe79d99585835ed5.tar.zst gsoc2013-evolution-c23b30b3bc35a1312b6ee0cffe79d99585835ed5.zip |
if there was no first name or last name, file as the company.
2001-10-01 JP Rosevear <jpr@ximian.com>
* conduit/address-conduit.c (ecard_from_remote_record): if there
was no first name or last name, file as the company.
svn path=/trunk/; revision=13293
Diffstat (limited to 'addressbook/conduit')
-rw-r--r-- | addressbook/conduit/address-conduit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/addressbook/conduit/address-conduit.c b/addressbook/conduit/address-conduit.c index 42c56cd707..3cc22559e3 100644 --- a/addressbook/conduit/address-conduit.c +++ b/addressbook/conduit/address-conduit.c @@ -500,6 +500,8 @@ ecard_from_remote_record(EAddrConduitContext *ctxt, txt = get_entry_text (address, entryCompany); e_card_simple_set(simple, E_CARD_SIMPLE_FIELD_ORG, txt); + if (i == 0) + e_card_simple_set(simple, E_CARD_SIMPLE_FIELD_FILE_AS, txt); g_free (txt); /* Address */ |