diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2009-01-27 02:49:51 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2009-01-27 02:49:51 +0800 |
commit | bc80332460c353e391cd620f2cc51f7b56eef4de (patch) | |
tree | 37881bffee0b32bad8c3eaaf8640f206fdfc4ccf /mail/e-mail-shell-module.c | |
parent | 8bfadde575e8a49da66bf7ba17e89963aa84bbf5 (diff) | |
download | gsoc2013-evolution-bc80332460c353e391cd620f2cc51f7b56eef4de.tar.gz gsoc2013-evolution-bc80332460c353e391cd620f2cc51f7b56eef4de.tar.zst gsoc2013-evolution-bc80332460c353e391cd620f2cc51f7b56eef4de.zip |
Miscellaneous stuff.
svn path=/branches/kill-bonobo/; revision=37134
Diffstat (limited to 'mail/e-mail-shell-module.c')
-rw-r--r-- | mail/e-mail-shell-module.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mail/e-mail-shell-module.c b/mail/e-mail-shell-module.c index 58be6a094d..e8893bbbdc 100644 --- a/mail/e-mail-shell-module.c +++ b/mail/e-mail-shell-module.c @@ -819,10 +819,12 @@ e_shell_module_init (GTypeModule *type_module) { EShell *shell; EShellModule *shell_module; + EShellSettings *shell_settings; gboolean enable_search_folders; shell_module = E_SHELL_MODULE (type_module); shell = e_shell_module_get_shell (shell_module); + shell_settings = e_shell_get_shell_settings (shell); e_shell_module_set_info ( shell_module, &module_info, @@ -892,10 +894,8 @@ e_shell_module_init (GTypeModule *type_module) e_mail_shell_module_init_settings (shell); mail_shell_module_init_preferences (shell); - g_object_get ( - e_shell_get_shell_settings (shell), - "mail-enable-search-folders", - &enable_search_folders, NULL); + enable_search_folders = e_shell_settings_get_boolean ( + shell_settings, "mail-enable-search-folders"); if (enable_search_folders) vfolder_load_storage (); |