aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-session.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2009-02-19 13:52:33 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2009-02-19 13:52:33 +0800
commit0110c94c6abdbb25b4fea6a21f20f00b82a0fdd8 (patch)
tree2878cd13bd0cbdb1aa575dc9a351517591f002f9 /mail/mail-session.c
parentfd564be3203400024147469faaa7de0884861566 (diff)
downloadgsoc2013-evolution-0110c94c6abdbb25b4fea6a21f20f00b82a0fdd8.tar.gz
gsoc2013-evolution-0110c94c6abdbb25b4fea6a21f20f00b82a0fdd8.tar.zst
gsoc2013-evolution-0110c94c6abdbb25b4fea6a21f20f00b82a0fdd8.zip
Rename EShell:online-mode to EShell:online and update docs.
Use EBindings instead of a notify callback to keep other widgets and actions synchronized with EShell:online. Cleaner and less error prone. svn path=/branches/kill-bonobo/; revision=37293
Diffstat (limited to 'mail/mail-session.c')
-rw-r--r--mail/mail-session.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/mail-session.c b/mail/mail-session.c
index 6529cde8f1..58b675828a 100644
--- a/mail/mail-session.c
+++ b/mail/mail-session.c
@@ -711,13 +711,13 @@ mail_session_init (EShellModule *shell_module)
{
EShell *shell;
GConfClient *gconf;
- gboolean online_mode;
+ gboolean online;
const gchar *data_dir;
mail_shell_module = shell_module;
shell = e_shell_module_get_shell (shell_module);
- online_mode = e_shell_get_online_mode (shell);
+ online = e_shell_get_online (shell);
data_dir = e_get_user_data_dir ();
if (camel_init (data_dir, TRUE) != 0)
@@ -740,7 +740,7 @@ mail_session_init (EShellModule *shell_module)
session, NULL, NULL);
session->junk_plugin = NULL;
- camel_session_set_online ((CamelSession *) session, online_mode);
+ camel_session_set_online ((CamelSession *) session, online);
mail_config_reload_junk_headers ();
}