diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-07-13 00:55:10 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-07-13 04:00:54 +0800 |
commit | 0d6061a4ebf34cbe4f640e755372c38bd698ed25 (patch) | |
tree | 9ae7c1391e0103d959896b7db9b296bcb61e5f6d /addressbook/gui/contact-list-editor/e-contact-list-editor.h | |
parent | c4d1d29eaaae6c2668599de0c989f5fe2b189c1e (diff) | |
download | gsoc2013-evolution-0d6061a4ebf34cbe4f640e755372c38bd698ed25.tar gsoc2013-evolution-0d6061a4ebf34cbe4f640e755372c38bd698ed25.tar.gz gsoc2013-evolution-0d6061a4ebf34cbe4f640e755372c38bd698ed25.tar.bz2 gsoc2013-evolution-0d6061a4ebf34cbe4f640e755372c38bd698ed25.tar.lz gsoc2013-evolution-0d6061a4ebf34cbe4f640e755372c38bd698ed25.tar.xz gsoc2013-evolution-0d6061a4ebf34cbe4f640e755372c38bd698ed25.tar.zst gsoc2013-evolution-0d6061a4ebf34cbe4f640e755372c38bd698ed25.zip |
Add a "quit-requested" signal to the shutdown protocol.
The contact and contact-list editors now demonstrate this part of the
shutdown protocol. They listen for the "quit-requested" signal from the
shell and prompt to save changes, discard changes or cancel. If the user
cancels, the editor calls e_shell_cancel_quit() to do just that.
Diffstat (limited to 'addressbook/gui/contact-list-editor/e-contact-list-editor.h')
-rw-r--r-- | addressbook/gui/contact-list-editor/e-contact-list-editor.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 5b67fe0126..8e258597aa 100644 --- a/addressbook/gui/contact-list-editor/e-contact-list-editor.h +++ b/addressbook/gui/contact-list-editor/e-contact-list-editor.h @@ -68,7 +68,8 @@ struct _EContactListEditorClass }; GType e_contact_list_editor_get_type (void); -GtkWidget * e_contact_list_editor_new (EBook *book, +EABEditor * e_contact_list_editor_new (EShell *shell, + EBook *book, EContact *list_contact, gboolean is_new_list, gboolean editable); |