aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window-commands.c
diff options
context:
space:
mode:
authorSuman Manjunath <msuman@src.gnome.org>2008-10-17 13:18:16 +0800
committerSuman Manjunath <msuman@src.gnome.org>2008-10-17 13:18:16 +0800
commit5ce1bbbbc83a42532b43788839321f2fac831dd1 (patch)
tree6ce21ed58818c88c5a99f1ac8a76a5b6166035ce /shell/e-shell-window-commands.c
parent0803e3551c2d5ee774addba722d5d287bf2c689d (diff)
downloadgsoc2013-evolution-5ce1bbbbc83a42532b43788839321f2fac831dd1.tar
gsoc2013-evolution-5ce1bbbbc83a42532b43788839321f2fac831dd1.tar.gz
gsoc2013-evolution-5ce1bbbbc83a42532b43788839321f2fac831dd1.tar.bz2
gsoc2013-evolution-5ce1bbbbc83a42532b43788839321f2fac831dd1.tar.lz
gsoc2013-evolution-5ce1bbbbc83a42532b43788839321f2fac831dd1.tar.xz
gsoc2013-evolution-5ce1bbbbc83a42532b43788839321f2fac831dd1.tar.zst
gsoc2013-evolution-5ce1bbbbc83a42532b43788839321f2fac831dd1.zip
Matthew Barnes <mbarnes@redhat.com> ** Fix for bug #548469 (Drop support for deprecated libnm-glib).
svn path=/trunk/; revision=36631
Diffstat (limited to 'shell/e-shell-window-commands.c')
-rw-r--r--shell/e-shell-window-commands.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/shell/e-shell-window-commands.c b/shell/e-shell-window-commands.c
index a6901d0865..0e4b9940ee 100644
--- a/shell/e-shell-window-commands.c
+++ b/shell/e-shell-window-commands.c
@@ -1024,7 +1024,10 @@ command_work_offline (BonoboUIComponent *uih,
EShellWindow *window,
const char *path)
{
- e_shell_go_offline (e_shell_window_peek_shell (window), window, GNOME_Evolution_USER_OFFLINE);
+ EShell *shell;
+
+ shell = e_shell_window_peek_shell (window);
+ e_shell_set_line_status (shell, GNOME_Evolution_USER_OFFLINE);
}
static void
@@ -1032,7 +1035,10 @@ command_work_online (BonoboUIComponent *uih,
EShellWindow *window,
const char *path)
{
- e_shell_go_online (e_shell_window_peek_shell (window), window, GNOME_Evolution_USER_ONLINE);
+ EShell *shell;
+
+ shell = e_shell_window_peek_shell (window);
+ e_shell_set_line_status (shell, GNOME_Evolution_USER_ONLINE);
}
static void