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/e-mail-shell-module.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'mail/e-mail-shell-module.c') 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 ( -- cgit v1.2.3