diff options
author | Hans Petter Jansson <hpj@ximian.com> | 2004-07-20 01:23:46 +0800 |
---|---|---|
committer | Hans Petter <hansp@src.gnome.org> | 2004-07-20 01:23:46 +0800 |
commit | a81d2584165ace86b398c5407a99dd86ce388985 (patch) | |
tree | a447bbc7b6f746abd1dadcd99509fa3a953dd258 /addressbook/gui/contact-editor/e-contact-editor.h | |
parent | a2e97ee71b03327741343200a2237fa031e3dffa (diff) | |
download | gsoc2013-evolution-a81d2584165ace86b398c5407a99dd86ce388985.tar.gz gsoc2013-evolution-a81d2584165ace86b398c5407a99dd86ce388985.tar.zst gsoc2013-evolution-a81d2584165ace86b398c5407a99dd86ce388985.zip |
Check source book writeability directly instead of relying on stored
2004-07-16 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/e-contact-editor.c (contact_added_cb)
(save_contact)
(app_delete_event_cb): Check source book writeability directly instead
of relying on stored state.
(e_contact_editor_init): Don't init source_editable.
(e_contact_editor_dispose): We don't listen for source writeability
anymore.
(writable_changed): Source writeability doesn't affect widget
status; remove code to check for it.
(e_contact_editor_set_property): Do nothing if book being set is
the same as currently set book; previously we would end up
unreffing then reffing it. Don't watch for source writeability, but
do so for target; fixes a warning. Only call sensitize_all() if
writeability on target changed.
* gui/contact-editor/e-contact-editor.h (EContactEditor): We don't
need the source_editable and source_editable_id vars anymore.
svn path=/trunk/; revision=26674
Diffstat (limited to 'addressbook/gui/contact-editor/e-contact-editor.h')
-rw-r--r-- | addressbook/gui/contact-editor/e-contact-editor.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-editor.h b/addressbook/gui/contact-editor/e-contact-editor.h index 58d9f2bb0d..6474e3c3a0 100644 --- a/addressbook/gui/contact-editor/e-contact-editor.h +++ b/addressbook/gui/contact-editor/e-contact-editor.h @@ -82,9 +82,6 @@ struct _EContactEditor /* Whether the contact has been changed since bringing up the contact editor */ guint changed : 1; - /* Whether the contact editor will accept delete */ - guint source_editable : 1; - /* Whether the contact editor will accept modifications, save */ guint target_editable : 1; @@ -98,7 +95,6 @@ struct _EContactEditor EBook *load_book; /* signal ids for "writable_status" */ - int source_editable_id; int target_editable_id; }; |