aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/contact-editor
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/gui/contact-editor
parent61423dc27ca64db80aa54b9c965ec2295d945241 (diff)
downloadgsoc2013-evolution-69addcfad66902e036e8271d56332dc4992b525b.tar.gz
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/gui/contact-editor')
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c1
1 files changed, 1 insertions, 0 deletions
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