aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/contact-editor/e-contact-editor.c
diff options
context:
space:
mode:
authorHans Petter Jansson <hpj@ximian.com>2004-05-13 01:22:22 +0800
committerHans Petter <hansp@src.gnome.org>2004-05-13 01:22:22 +0800
commit7aa5dc7ecdaca5b1b7d461576ea2b281ba3758c0 (patch)
treefdbe7623e5b91d5f56744fcecf1920fc5f4dc6dd /addressbook/gui/contact-editor/e-contact-editor.c
parent879887464181d20f995891f668c3056146136e29 (diff)
downloadgsoc2013-evolution-7aa5dc7ecdaca5b1b7d461576ea2b281ba3758c0.tar
gsoc2013-evolution-7aa5dc7ecdaca5b1b7d461576ea2b281ba3758c0.tar.gz
gsoc2013-evolution-7aa5dc7ecdaca5b1b7d461576ea2b281ba3758c0.tar.bz2
gsoc2013-evolution-7aa5dc7ecdaca5b1b7d461576ea2b281ba3758c0.tar.lz
gsoc2013-evolution-7aa5dc7ecdaca5b1b7d461576ea2b281ba3758c0.tar.xz
gsoc2013-evolution-7aa5dc7ecdaca5b1b7d461576ea2b281ba3758c0.tar.zst
gsoc2013-evolution-7aa5dc7ecdaca5b1b7d461576ea2b281ba3758c0.zip
Add PO box entries.
2004-05-12 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/contact-editor.glade: Add PO box entries. * gui/contact-editor/e-contact-editor.c (init_address_record): Hook up PO box entry. (fill_in_address_record): Ditto. (extract_address_record): Ditto. svn path=/trunk/; revision=25884
Diffstat (limited to 'addressbook/gui/contact-editor/e-contact-editor.c')
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c
index 8d5bac7ac3..c3e6d3b99b 100644
--- a/addressbook/gui/contact-editor/e-contact-editor.c
+++ b/addressbook/gui/contact-editor/e-contact-editor.c
@@ -1115,6 +1115,7 @@ init_address_record (EContactEditor *editor, gint record)
init_address_field (editor, record, "state");
init_address_field (editor, record, "zip");
init_address_field (editor, record, "country");
+ init_address_field (editor, record, "pobox");
}
static void
@@ -1173,6 +1174,7 @@ fill_in_address_record (EContactEditor *editor, gint record)
fill_in_address_field (editor, record, "state", address->region);
fill_in_address_field (editor, record, "zip", address->code);
fill_in_address_field (editor, record, "country", address->country);
+ fill_in_address_field (editor, record, "pobox", address->po);
g_boxed_free (e_contact_address_get_type (), address);
}
@@ -1250,6 +1252,7 @@ extract_address_record (EContactEditor *editor, gint record)
address->region = extract_address_field (editor, record, "state");
address->code = extract_address_field (editor, record, "zip");
address->country = extract_address_field (editor, record, "country");
+ address->po = extract_address_field (editor, record, "pobox");
if (nonempty (address->street) ||
nonempty (address->ext) ||