From a81d2584165ace86b398c5407a99dd86ce388985 Mon Sep 17 00:00:00 2001 From: Hans Petter Jansson Date: Mon, 19 Jul 2004 17:23:46 +0000 Subject: Check source book writeability directly instead of relying on stored 2004-07-16 Hans Petter Jansson * 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 --- addressbook/ChangeLog | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'addressbook/ChangeLog') diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 458a73b95f..5661aea81c 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,23 @@ +2004-07-16 Hans Petter Jansson + + * 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. + 2004-07-14 Chris Toshok [ fixes #60873, and possibly other crashes ] -- cgit v1.2.3