aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c
index a3dd431d2e..cabc1f7986 100644
--- a/addressbook/gui/contact-editor/e-contact-editor.c
+++ b/addressbook/gui/contact-editor/e-contact-editor.c
@@ -2434,6 +2434,10 @@ enable_writable_fields(EContactEditor *editor)
enabled = (g_hash_table_lookup (supported_hash, field) != NULL);
+ if (widget_field_mappings[i].desensitize_for_read_only && !editor->editable) {
+ enabled = FALSE;
+ }
+
enable_widget (w, enabled);
}