aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorHans Petter Jansson <hpj@ximian.com>2004-06-08 11:34:09 +0800
committerHans Petter <hansp@src.gnome.org>2004-06-08 11:34:09 +0800
commit69addcfad66902e036e8271d56332dc4992b525b (patch)
tree42c78c3f45a1136f3faaac356bad399e59fc0f62 /addressbook
parent61423dc27ca64db80aa54b9c965ec2295d945241 (diff)
downloadgsoc2013-evolution-69addcfad66902e036e8271d56332dc4992b525b.tar
gsoc2013-evolution-69addcfad66902e036e8271d56332dc4992b525b.tar.gz
gsoc2013-evolution-69addcfad66902e036e8271d56332dc4992b525b.tar.bz2
gsoc2013-evolution-69addcfad66902e036e8271d56332dc4992b525b.tar.lz
gsoc2013-evolution-69addcfad66902e036e8271d56332dc4992b525b.tar.xz
gsoc2013-evolution-69addcfad66902e036e8271d56332dc4992b525b.tar.zst
gsoc2013-evolution-69addcfad66902e036e8271d56332dc4992b525b.zip
Fixes #58921.
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. svn path=/trunk/; revision=26246
Diffstat (limited to 'addressbook')
-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