From ac8cf2c210f655675c49f04fb7c3c679db4f1fae Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Tue, 30 Oct 2001 03:45:46 +0000 Subject: new function, a "Do you want to save changes?" dialog. 2001-10-29 Chris Toshok * gui/widgets/e-addressbook-util.c (e_addressbook_prompt_save_dialog): new function, a "Do you want to save changes?" dialog. * gui/widgets/e-addressbook-util.h: add prototype for e_addressbook_prompt_save_dialog. * gui/contact-editor/e-contact-editor.c (prompt_to_save_changes): call e_addressbook_prompt_save_dialog and save the card if they select save. return TRUE if the dialog should be closed, FALSE otherwise. (file_close_cb): check prompt_to_save_changes before closing the dialog. (app_delete_event_cb): same. * gui/contact-list-editor/e-contact-list-editor.c (prompt_to_save_changes): call e_addressbook_prompt_save_dialog and save the card if they select save. return TRUE if the dialog should be closed, FALSE otherwise. (file_close_cb): check prompt_to_save_changes before closing the dialog. (app_delete_event_cb): same. svn path=/trunk/; revision=14414 --- addressbook/ChangeLog | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'addressbook/ChangeLog') diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 580c53d7a4..6fd18c407b 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,28 @@ +2001-10-29 Chris Toshok + + * gui/widgets/e-addressbook-util.c + (e_addressbook_prompt_save_dialog): new function, a "Do you want + to save changes?" dialog. + + * gui/widgets/e-addressbook-util.h: add prototype for + e_addressbook_prompt_save_dialog. + + * gui/contact-editor/e-contact-editor.c (prompt_to_save_changes): + call e_addressbook_prompt_save_dialog and save the card if they + select save. return TRUE if the dialog should be closed, FALSE + otherwise. + (file_close_cb): check prompt_to_save_changes before closing the + dialog. + (app_delete_event_cb): same. + + * gui/contact-list-editor/e-contact-list-editor.c + (prompt_to_save_changes): call e_addressbook_prompt_save_dialog + and save the card if they select save. return TRUE if the dialog + should be closed, FALSE otherwise. + (file_close_cb): check prompt_to_save_changes before closing the + dialog. + (app_delete_event_cb): same. + 2001-10-29 Chris Toshok * backend/pas/pas-backend-ldap.c (add_objectclass_mod): overload -- cgit v1.2.3