aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/conduit/address-conduit.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 4ad8a2d67e..7824dc0a57 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,5 +1,10 @@
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.
+
+2001-10-01 JP Rosevear <jpr@ximian.com>
+
* backend/pas/pas-backend-file.c
(pas_backend_file_changes_foreach_key): if there is a db error,
assume deletion
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 */