aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2012-04-23 17:44:45 +0800
committerMilan Crha <mcrha@redhat.com>2012-04-23 17:46:05 +0800
commitbf2c718d1f1ecdaf0feec0274c2b12eee57aa6bf (patch)
tree0b1984407c2f046f109c1468f88dd8f933a6587a /shell
parent68978b5a021e73f44a05a19b6492469c3da13f79 (diff)
downloadgsoc2013-evolution-bf2c718d1f1ecdaf0feec0274c2b12eee57aa6bf.tar
gsoc2013-evolution-bf2c718d1f1ecdaf0feec0274c2b12eee57aa6bf.tar.gz
gsoc2013-evolution-bf2c718d1f1ecdaf0feec0274c2b12eee57aa6bf.tar.bz2
gsoc2013-evolution-bf2c718d1f1ecdaf0feec0274c2b12eee57aa6bf.tar.lz
gsoc2013-evolution-bf2c718d1f1ecdaf0feec0274c2b12eee57aa6bf.tar.xz
gsoc2013-evolution-bf2c718d1f1ecdaf0feec0274c2b12eee57aa6bf.tar.zst
gsoc2013-evolution-bf2c718d1f1ecdaf0feec0274c2b12eee57aa6bf.zip
Bug #655753 - Improve offline notification for network outage
Diffstat (limited to 'shell')
-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 ();