aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-backend.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-10-14 03:37:12 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-10-14 04:00:03 +0800
commit3fbcc8ef800b2c0ef74fcdea17f6a1e5ec01cdff (patch)
tree173d8c8619a817a2fae8bea469e0fad179b2f8a5 /shell/e-shell-backend.h
parent3f529345a9711a3462525619c024b8344f81e356 (diff)
downloadgsoc2013-evolution-3fbcc8ef800b2c0ef74fcdea17f6a1e5ec01cdff.tar.gz
gsoc2013-evolution-3fbcc8ef800b2c0ef74fcdea17f6a1e5ec01cdff.tar.zst
gsoc2013-evolution-3fbcc8ef800b2c0ef74fcdea17f6a1e5ec01cdff.zip
EShellBackend: Respond to EShell::prepare-for-quit signals.
Listen for "prepare-for-quit" signals from the shell and inhibit shutdown until all the activities we're tracking are finalized. Also, add a couple supporting functions: gboolean e_shell_backend_is_busy (EShellBackend *shell_backend); void e_shell_backend_cancel_all (EShellBackend *shell_backend); These will eventually replace mail_msg_active() and mail_cancel_all().
Diffstat (limited to 'shell/e-shell-backend.h')
-rw-r--r--shell/e-shell-backend.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/e-shell-backend.h b/shell/e-shell-backend.h
index 055a2a3322..1810c8c6e5 100644
--- a/shell/e-shell-backend.h
+++ b/shell/e-shell-backend.h
@@ -124,6 +124,8 @@ const gchar * e_shell_backend_get_data_dir (EShellBackend *shell_backend);
struct _EShell *e_shell_backend_get_shell (EShellBackend *shell_backend);
void e_shell_backend_add_activity (EShellBackend *shell_backend,
EActivity *activity);
+gboolean e_shell_backend_is_busy (EShellBackend *shell_backend);
+void e_shell_backend_cancel_all (EShellBackend *shell_backend);
void e_shell_backend_start (EShellBackend *shell_backend);
gboolean e_shell_backend_migrate (EShellBackend *shell_backend,
gint major,