From 9a49145291a39e4e2baca6acd0dba70572aa9bb2 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Sun, 4 Nov 2001 04:39:08 +0000 Subject: [ Fixes Ximian bug #14410 ] init in_async_call to FALSE. (card_added_cb): 2001-11-03 Chris Toshok [ Fixes Ximian bug #14410 ] * gui/contact-editor/e-contact-editor.c (e_contact_editor_init): init in_async_call to FALSE. (card_added_cb): turn the UI back on and set in_async_call to FALSE. (card_modified_cb): same. (card_deleted_cb): same. (save_card): turn off the UI by setting the dialog insensitive, and set in_async_call to TRUE. (delete_cb): same. (app_delete_event_cb): if we're in an async call don't let the window get deleted. * gui/contact-editor/e-contact-editor.h (struct _EContactEditor): add in_async_call flag for when we make a wombat call and need to disable the UI. * gui/contact-list-editor/e-contact-list-editor.c (e_contact_list_editor_init): init in_async_call to FALSE. (list_added_cb): turn the UI back on and set in_async_call to FALSE. (list_modified_cb): same. (list_deleted_cb): same. (save_card): turn off the UI by setting the dialog insensitive, and set in_async_call to TRUE. (delete_cb): same. (app_delete_event_cb): if we're in an async call don't let the window get deleted. * gui/contact-list-editor/e-contact-list-editor.h (struct _EContactListEditor): add in_async_call flag for when we make a wombat call and need to disable the UI. svn path=/trunk/; revision=14582 --- addressbook/gui/contact-list-editor/e-contact-list-editor.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'addressbook/gui/contact-list-editor/e-contact-list-editor.h') diff --git a/addressbook/gui/contact-list-editor/e-contact-list-editor.h b/addressbook/gui/contact-list-editor/e-contact-list-editor.h index d83f15d6f7..37f54df170 100644 --- a/addressbook/gui/contact-list-editor/e-contact-list-editor.h +++ b/addressbook/gui/contact-list-editor/e-contact-list-editor.h @@ -75,6 +75,9 @@ struct _EContactListEditor /* Whether the contact editor will accept modifications */ guint editable : 1; + + /* Whether an async wombat call is in progress */ + guint in_async_call : 1; }; struct _EContactListEditorClass -- cgit