aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r--shell/e-shell.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c
index bc252845cd..7f0625afe3 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -1209,6 +1209,15 @@ e_shell_init (EShell *shell)
"org.gnome.evolution.shell",
"start-offline");
+ e_shell_settings_install_property_for_key (
+ "currently-offline",
+ "org.gnome.evolution.shell",
+ "currently-offline");
+
+ g_object_bind_property (shell, "online",
+ e_shell_get_shell_settings (shell), "currently-offline",
+ G_BINDING_BIDIRECTIONAL | G_BINDING_SYNC_CREATE | G_BINDING_INVERT_BOOLEAN);
+
/*** Session Management ***/
sm_client = egg_sm_client_get ();