diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-05-16 05:41:51 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-05-16 05:41:51 +0800 |
commit | 3d386b57d1682ad0f5fb0b9a60f0d65906f578b7 (patch) | |
tree | 67f79ba63a89ee7f5e1e463b8b4e082bfca83620 /my-evolution | |
parent | c1ce3633db69de57b4a589587627fa088f9a3e5f (diff) | |
download | gsoc2013-evolution-3d386b57d1682ad0f5fb0b9a60f0d65906f578b7.tar gsoc2013-evolution-3d386b57d1682ad0f5fb0b9a60f0d65906f578b7.tar.gz gsoc2013-evolution-3d386b57d1682ad0f5fb0b9a60f0d65906f578b7.tar.bz2 gsoc2013-evolution-3d386b57d1682ad0f5fb0b9a60f0d65906f578b7.tar.lz gsoc2013-evolution-3d386b57d1682ad0f5fb0b9a60f0d65906f578b7.tar.xz gsoc2013-evolution-3d386b57d1682ad0f5fb0b9a60f0d65906f578b7.tar.zst gsoc2013-evolution-3d386b57d1682ad0f5fb0b9a60f0d65906f578b7.zip |
Check with e_shell_prepare_for_quit() before quitting.
* e-shell-view-menu.c (command_quit): Check with
e_shell_prepare_for_quit() before quitting.
* e-shell.c (e_shell_prepare_for_quit): New.
* evolution-test-component.c (request_quit_fn): New function
asking for confirmation to quit.
* evolution-shell-component.c (evolution_shell_component_new): New
arg @request_quit_fn.
(impl_requestQuit): New, implementation for
EvolutionShellComponent::requestQuit.
(evolution_shell_component_result_to_string): Handle
EVOLUTION_SHELL_COMPONENT_CANCEL.
(evolution_shell_component_client_request_quit): New.
* Evolution-ShellComponent.idl (requestQuit): New.
* component-factory.c (create_component): Pass NULL as
@request_quit_fn.
* component-factory.c (create_component): Pass NULL as
@request_quit_fn.
* gui/component-factory.c (create_object): Pass NULL as
@request_quit_fn.
* gui/component/addressbook-component.c (create_component): Pass
NULL as @request_quit_fn.
svn path=/trunk/; revision=16925
Diffstat (limited to 'my-evolution')
-rw-r--r-- | my-evolution/ChangeLog | 5 | ||||
-rw-r--r-- | my-evolution/component-factory.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/my-evolution/ChangeLog b/my-evolution/ChangeLog index 5e021f68ff..c01eb5670c 100644 --- a/my-evolution/ChangeLog +++ b/my-evolution/ChangeLog @@ -1,3 +1,8 @@ +2002-05-15 Ettore Perazzoli <ettore@ximian.com> + + * component-factory.c (create_component): Pass NULL as + @request_quit_fn. + 2002-05-14 Christopher James Lahey <clahey@ximian.com> * e-summary-mail.c (folder_gen_html): Use the uri stored in the diff --git a/my-evolution/component-factory.c b/my-evolution/component-factory.c index 30196985d9..7e033f8dce 100644 --- a/my-evolution/component-factory.c +++ b/my-evolution/component-factory.c @@ -143,7 +143,8 @@ create_component (BonoboGenericFactory *factory, create_view, NULL, NULL, NULL, NULL, - NULL, NULL); + NULL, NULL, + NULL); gtk_signal_connect (GTK_OBJECT (shell_component), "destroy", GTK_SIGNAL_FUNC (component_destroy), NULL); gtk_signal_connect (GTK_OBJECT (shell_component), "owner_set", |