From 0110c94c6abdbb25b4fea6a21f20f00b82a0fdd8 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 19 Feb 2009 05:52:33 +0000 Subject: 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 --- mail/mail-session.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mail/mail-session.c') 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 (); } -- cgit v1.2.3