aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/contact-editor/e-contact-editor.h
diff options
context:
space:
mode:
authorHans Petter Jansson <hpj@ximian.com>2003-12-19 06:20:17 +0800
committerHans Petter <hansp@src.gnome.org>2003-12-19 06:20:17 +0800
commit4cfce46d8d8afd57f4381c0161d14a88722c9f40 (patch)
tree0ba779def290498731dd5c3520ee135dd9684832 /addressbook/gui/contact-editor/e-contact-editor.h
parentd83b74499486ae29fbdec8140533288a18596095 (diff)
downloadgsoc2013-evolution-4cfce46d8d8afd57f4381c0161d14a88722c9f40.tar.gz
gsoc2013-evolution-4cfce46d8d8afd57f4381c0161d14a88722c9f40.tar.zst
gsoc2013-evolution-4cfce46d8d8afd57f4381c0161d14a88722c9f40.zip
editable -> target_editable (e_contact_editor_get_property): Same.
2003-12-18 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/e-contact-editor.c (widget_changed): editable -> target_editable (e_contact_editor_get_property): Same. (_email_arrow_pressed): Same. (enable_writable_fields): Same. (set_editable): Same. (contact_added_cb): Make sure source book is editable before trying to remove contact from there. (e_contact_editor_init): Set up source/target editability. (command_state_changed): Allow save only if target editable. Allow delete only if source editable. (e_contact_editor_set_property): Set editability flags for source/target. * gui/contact-editor/e-contact-editor.h: Add source_editable, target_editable flags in place of old editable flag. svn path=/trunk/; revision=23986
Diffstat (limited to 'addressbook/gui/contact-editor/e-contact-editor.h')
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-editor.h b/addressbook/gui/contact-editor/e-contact-editor.h
index 497d6d3a2a..56a41dfb2a 100644
--- a/addressbook/gui/contact-editor/e-contact-editor.h
+++ b/addressbook/gui/contact-editor/e-contact-editor.h
@@ -87,8 +87,11 @@ struct _EContactEditor
/* Whether the contact has been changed since bringing up the contact editor */
guint changed : 1;
- /* Whether the contact editor will accept modifications */
- guint editable : 1;
+ /* Whether the contact editor will accept delete */
+ guint source_editable : 1;
+
+ /* Whether the contact editor will accept modifications, save */
+ guint target_editable : 1;
/* Whether the fullname will accept modifications */
guint fullname_editable : 1;