diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/e-mail-shell-module.c | 12 | ||||
-rw-r--r-- | mail/mail-session.c | 6 |
2 files changed, 9 insertions, 9 deletions
diff --git a/mail/e-mail-shell-module.c b/mail/e-mail-shell-module.c index 7c61663541..b65cb2ce31 100644 --- a/mail/e-mail-shell-module.c +++ b/mail/e-mail-shell-module.c @@ -557,13 +557,13 @@ exit: } static void -mail_shell_module_notify_online_mode_cb (EShell *shell, - GParamSpec *pspec, - EShellModule *shell_module) +mail_shell_module_notify_online_cb (EShell *shell, + GParamSpec *pspec, + EShellModule *shell_module) { gboolean online; - online = e_shell_get_online_mode (shell); + online = e_shell_get_online (shell); camel_session_set_online (session, online); } @@ -873,8 +873,8 @@ e_shell_module_init (GTypeModule *type_module) folder_tree_model = em_folder_tree_model_new (shell_module); g_signal_connect ( - shell, "notify::online-mode", - G_CALLBACK (mail_shell_module_notify_online_mode_cb), + shell, "notify::online", + G_CALLBACK (mail_shell_module_notify_online_cb), shell_module); g_signal_connect ( 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 (); } |