From d590573b075816fe1d190e78b99ea4d1362a86bd Mon Sep 17 00:00:00 2001 From: Sivaiah Nallagatla Date: Mon, 13 Sep 2004 13:34:04 +0000 Subject: check for _LABEL type address fields also in supported fileds while 2004-09-13 Sivaiah Nallagatla * gui/contact-editor/e-contact-editor.c (sensitize_address) : check for _LABEL type address fields also in supported fileds while sensitizing the address fields svn path=/trunk/; revision=27242 --- addressbook/gui/contact-editor/e-contact-editor.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'addressbook/gui/contact-editor') diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c index 80983691c3..ffec55249c 100644 --- a/addressbook/gui/contact-editor/e-contact-editor.c +++ b/addressbook/gui/contact-editor/e-contact-editor.c @@ -1909,7 +1909,8 @@ sensitize_address (EContactEditor *editor) gboolean enabled = TRUE; if (!editor->target_editable || - !is_field_supported (editor, addresses [i])) + !(is_field_supported (editor, addresses [i]) || + is_field_supported (editor, address_labels[i]))) enabled = FALSE; sensitize_address_record (editor, i, enabled); -- cgit v1.2.3