aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/contact-editor/e-contact-editor.h
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/contact-editor/e-contact-editor.h')
-rw-r--r--addressbook/contact-editor/e-contact-editor.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/addressbook/contact-editor/e-contact-editor.h b/addressbook/contact-editor/e-contact-editor.h
index ef2b1238df..184829b64c 100644
--- a/addressbook/contact-editor/e-contact-editor.h
+++ b/addressbook/contact-editor/e-contact-editor.h
@@ -86,6 +86,9 @@ struct _EContactEditor
/* Whether we are editing a new card or an existing one */
guint is_new_card : 1;
+ /* Whether the contact editor will accept modifications */
+ guint is_read_only : 1;
+
EList *writable_fields;
};
@@ -103,7 +106,8 @@ struct _EContactEditorClass
EContactEditor *e_contact_editor_new (ECard *card,
gboolean is_new_card,
- EList *writable_fields);
+ EList *writable_fields,
+ gboolean is_read_only);
GtkType e_contact_editor_get_type (void);
void e_contact_editor_raise (EContactEditor *editor);