From 6e7f42e0a60659411f2e10dbf8e84c705f0498a4 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 10 Jul 2009 14:42:53 -0400 Subject: Use an EShellSettings property for folder tree search. --- modules/mail/e-mail-shell-settings.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'modules/mail/e-mail-shell-settings.c') diff --git a/modules/mail/e-mail-shell-settings.c b/modules/mail/e-mail-shell-settings.c index 897ccfc18b..7f73bf3f15 100644 --- a/modules/mail/e-mail-shell-settings.c +++ b/modules/mail/e-mail-shell-settings.c @@ -384,6 +384,18 @@ e_mail_shell_settings_init (EShell *shell) shell_settings, "mail-show-sender-photo", "/apps/evolution/mail/display/sender_photo"); + e_shell_settings_install_property ( + g_param_spec_boolean ( + "mail-side-bar-search", + NULL, + NULL, + TRUE, + G_PARAM_READWRITE)); + + e_shell_settings_bind_to_gconf ( + shell_settings, "mail-side-bar-search", + "/apps/evolution/mail/display/side_bar_search"); + e_shell_settings_install_property ( g_param_spec_boolean ( "mail-use-custom-fonts", -- cgit