aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-backend.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-03-04 17:00:26 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:41 +0800
commit3f746c4a55779d784dd48317a0305b131b0ad771 (patch)
treeecb8adeea5621394e81946b7bccd4602134b35fa /shell/e-shell-backend.c
parenteac4adfbf61b7f090db0713dbdaa5f4dd081e751 (diff)
downloadgsoc2013-evolution-3f746c4a55779d784dd48317a0305b131b0ad771.tar
gsoc2013-evolution-3f746c4a55779d784dd48317a0305b131b0ad771.tar.gz
gsoc2013-evolution-3f746c4a55779d784dd48317a0305b131b0ad771.tar.bz2
gsoc2013-evolution-3f746c4a55779d784dd48317a0305b131b0ad771.tar.lz
gsoc2013-evolution-3f746c4a55779d784dd48317a0305b131b0ad771.tar.xz
gsoc2013-evolution-3f746c4a55779d784dd48317a0305b131b0ad771.tar.zst
gsoc2013-evolution-3f746c4a55779d784dd48317a0305b131b0ad771.zip
Do not flush Outbox when mail shell backend not started
Diffstat (limited to 'shell/e-shell-backend.c')
-rw-r--r--shell/e-shell-backend.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/shell/e-shell-backend.c b/shell/e-shell-backend.c
index cd672842f1..03acc0ef04 100644
--- a/shell/e-shell-backend.c
+++ b/shell/e-shell-backend.c
@@ -508,6 +508,21 @@ e_shell_backend_start (EShellBackend *shell_backend)
}
/**
+ * e_shell_backend_is_started:
+ * @shell_backend: an #EShellBackend
+ *
+ * Returns whether was shelll_backend already started, by
+ * calling e_shell_backend_start().
+ **/
+gboolean
+e_shell_backend_is_started (EShellBackend *shell_backend)
+{
+ g_return_val_if_fail (E_IS_SHELL_BACKEND (shell_backend), FALSE);
+
+ return shell_backend->priv->started;
+}
+
+/**
* e_shell_backend_migrate:
* @shell_backend: an #EShellBackend
* @major: major part of version to migrate from