aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.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.c
parent0803e3551c2d5ee774addba722d5d287bf2c689d (diff)
downloadgsoc2013-evolution-5ce1bbbbc83a42532b43788839321f2fac831dd1.tar.gz
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.c')
-rw-r--r--shell/e-shell.c50
1 files changed, 7 insertions, 43 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c
index df1aeaece7..aeb6b79112 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -316,9 +316,9 @@ impl_Shell_setLineStatus (PortableServer_Servant servant,
e_passwords_set_online(online);
if (online)
- e_shell_go_online (shell, NULL, GNOME_Evolution_USER_ONLINE);
+ e_shell_set_line_status (shell, GNOME_Evolution_USER_ONLINE);
else
- e_shell_go_offline (shell, NULL, GNOME_Evolution_USER_OFFLINE);
+ e_shell_set_line_status (shell, GNOME_Evolution_USER_OFFLINE);
}
/*
static GNOME_Evolution_Component
@@ -716,9 +716,9 @@ e_shell_construct (EShell *shell,
e_passwords_set_online(start_online);
if (start_online)
- e_shell_go_online (shell, NULL, GNOME_Evolution_USER_ONLINE);
+ e_shell_set_line_status (shell, GNOME_Evolution_USER_ONLINE);
else
- e_shell_go_online (shell, NULL, GNOME_Evolution_USER_OFFLINE);
+ e_shell_set_line_status (shell, GNOME_Evolution_USER_OFFLINE);
return E_SHELL_CONSTRUCT_RESULT_OK;
}
@@ -1125,8 +1125,9 @@ set_line_status_complete(EvolutionListener *el, void *data)
}
}
-static void
-set_line_status(EShell *shell, GNOME_Evolution_ShellState shell_state)
+void
+e_shell_set_line_status (EShell *shell,
+ GNOME_Evolution_ShellState shell_state)
{
EShellPrivate *priv;
GSList *component_infos;
@@ -1180,43 +1181,6 @@ set_line_status(EShell *shell, GNOME_Evolution_ShellState shell_state)
set_line_status_finished(shell);
}
-/**
- * e_shell_go_offline:
- * @shell:
- * @action_window: Obsolete/unused.
- *
- * Make the shell go into off-line mode.
- **/
-void
-e_shell_go_offline (EShell *shell,
- EShellWindow *action_window, GNOME_Evolution_ShellState shell_state)
-{
- g_return_if_fail (shell != NULL);
- g_return_if_fail (E_IS_SHELL (shell));
- g_return_if_fail (action_window != NULL);
- g_return_if_fail (action_window == NULL || E_IS_SHELL_WINDOW (action_window));
-
- set_line_status(shell, shell_state);
-}
-
-/**
- * e_shell_go_online:
- * @shell:
- * @action_window: Obsolete/unused.
- *
- * Make the shell go into on-line mode.
- **/
-void
-e_shell_go_online (EShell *shell,
- EShellWindow *action_window, GNOME_Evolution_ShellState shell_state)
-{
- g_return_if_fail (shell != NULL);
- g_return_if_fail (E_IS_SHELL (shell));
- g_return_if_fail (action_window == NULL || E_IS_SHELL_WINDOW (action_window));
-
- set_line_status(shell, shell_state);
-}
-
gboolean
e_shell_get_crash_recovery (EShell *shell)
{