From 073927075b22b5a2988e299e91d2ccb7ec58c1c8 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Thu, 16 May 2002 18:48:59 +0000 Subject: New, quit handler for the EvolutionShellComponent. (add_creatable_item): * gui/component/addressbook-component.c (request_quit): New, quit handler for the EvolutionShellComponent. (add_creatable_item): Set it up. * gui/contact-editor/e-contact-list-editor.c (e_contact_list_editor_request_close_all): New. (e_contact_list_editor_new): Put the contact editor in a static list and gtk_object_weakref() it. (contact_list_editor_destroy_notify): New, GtkDestroyNotify function for the contact editors. * gui/contact-editor/e-contact-editor.c (e_contact_editor_request_close_all): New. (e_contact_editor_new): Put the contact editor in a static list and gtk_object_weakref() it. (contact_editor_destroy_notify): New, GtkDestroyNotify function for the contact editors. svn path=/trunk/; revision=16934 --- addressbook/gui/contact-editor/e-contact-editor.h | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'addressbook/gui/contact-editor/e-contact-editor.h') diff --git a/addressbook/gui/contact-editor/e-contact-editor.h b/addressbook/gui/contact-editor/e-contact-editor.h index 249640379b..0010182b99 100644 --- a/addressbook/gui/contact-editor/e-contact-editor.h +++ b/addressbook/gui/contact-editor/e-contact-editor.h @@ -117,17 +117,19 @@ struct _EContactEditorClass void (* editor_closed) (EContactEditor *ce); }; -EContactEditor *e_contact_editor_new (EBook *book, - ECard *card, - gboolean is_new_card, - gboolean editable); -GtkType e_contact_editor_get_type (void); -void e_contact_editor_show (EContactEditor *editor); -void e_contact_editor_close (EContactEditor *editor); -void e_contact_editor_raise (EContactEditor *editor); +EContactEditor *e_contact_editor_new (EBook *book, + ECard *card, + gboolean is_new_card, + gboolean editable); +GtkType e_contact_editor_get_type (void); +void e_contact_editor_show (EContactEditor *editor); +void e_contact_editor_close (EContactEditor *editor); +void e_contact_editor_raise (EContactEditor *editor); -gboolean e_contact_editor_confirm_delete (GtkWindow *parent); +gboolean e_contact_editor_confirm_delete (GtkWindow *parent); + +gboolean e_contact_editor_request_close_all (void); #ifdef __cplusplus } -- cgit v1.2.3