From 4416de463e9e41759c6f21e64aaa4458ddc10fde Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Mon, 4 Feb 2002 11:12:58 +0000 Subject: if the shown address in the mailing address or there is no mailing 2002-02-04 JP Rosevear * gui/contact-editor/e-contact-editor.c (address_text_changed): if the shown address in the mailing address or there is no mailing address, set the default flag and make sure the button is checked (address_mailing_changed): set the flags properly when the mailing address changes (e_contact_editor_init): listen for the check button being toggled (find_address_mailing): find the address (if any) with the default flag (set_address_field): set the mailing address button appropriately (fill_in_info): find the mailing address * gui/contact-editor/e-contact-editor.h: add new class data member * gui/contact-editor/contact-editor.glade: show mailing address check button svn path=/trunk/; revision=15561 --- addressbook/gui/contact-editor/e-contact-editor.h | 1 + 1 file changed, 1 insertion(+) (limited to 'addressbook/gui/contact-editor/e-contact-editor.h') diff --git a/addressbook/gui/contact-editor/e-contact-editor.h b/addressbook/gui/contact-editor/e-contact-editor.h index 69036ef9a8..249640379b 100644 --- a/addressbook/gui/contact-editor/e-contact-editor.h +++ b/addressbook/gui/contact-editor/e-contact-editor.h @@ -86,6 +86,7 @@ struct _EContactEditor ECardSimpleEmailId email_choice; ECardSimplePhoneId phone_choice[4]; ECardSimpleAddressId address_choice; + ECardSimpleAddressId address_mailing; GList *arbitrary_fields; -- cgit