aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--addressbook/ChangeLog7
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c1
2 files changed, 8 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 5c8c64b9d8..e61ebf1e97 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,10 @@
+2004-06-07 Hans Petter Jansson <hpj@ximian.com>
+
+ Fixes #58921.
+
+ * gui/contact-editor/e-contact-editor.c (extract_address_record):
+ Also check if the po box field is non-empty.
+
2004-06-07 Jon Oberheide <jon@focalhost.com>
* gui/contact-list-editor/e-contact-list-model.c: disable editing
diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c
index b0207439bb..f0ec0a3a30 100644
--- a/addressbook/gui/contact-editor/e-contact-editor.c
+++ b/addressbook/gui/contact-editor/e-contact-editor.c
@@ -1755,6 +1755,7 @@ extract_address_record (EContactEditor *editor, gint record)
!STRING_IS_EMPTY (address->locality) ||
!STRING_IS_EMPTY (address->region) ||
!STRING_IS_EMPTY (address->code) ||
+ !STRING_IS_EMPTY (address->po) ||
!STRING_IS_EMPTY (address->country))
e_contact_set (editor->contact, addresses [record], address);
else