aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/contact-editor
diff options
context:
space:
mode:
authorSivaiah Nallagatla <snallagatla@novell.com>2004-09-13 21:34:04 +0800
committerSivaiah Nallagatla <siva@src.gnome.org>2004-09-13 21:34:04 +0800
commitd590573b075816fe1d190e78b99ea4d1362a86bd (patch)
tree10ac9e5d6a1ed4a6fea8f75bb20c457ac2021342 /addressbook/gui/contact-editor
parentb871c53dd21f7ae62383bb824cc55f794e20ad73 (diff)
downloadgsoc2013-evolution-d590573b075816fe1d190e78b99ea4d1362a86bd.tar
gsoc2013-evolution-d590573b075816fe1d190e78b99ea4d1362a86bd.tar.gz
gsoc2013-evolution-d590573b075816fe1d190e78b99ea4d1362a86bd.tar.bz2
gsoc2013-evolution-d590573b075816fe1d190e78b99ea4d1362a86bd.tar.lz
gsoc2013-evolution-d590573b075816fe1d190e78b99ea4d1362a86bd.tar.xz
gsoc2013-evolution-d590573b075816fe1d190e78b99ea4d1362a86bd.tar.zst
gsoc2013-evolution-d590573b075816fe1d190e78b99ea4d1362a86bd.zip
check for _LABEL type address fields also in supported fileds while
2004-09-13 Sivaiah Nallagatla <snallagatla@novell.com> * 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
Diffstat (limited to 'addressbook/gui/contact-editor')
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c3
1 files changed, 2 insertions, 1 deletions
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);