diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2009-02-19 09:36:04 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2009-02-19 09:36:04 +0800 |
commit | fd564be3203400024147469faaa7de0884861566 (patch) | |
tree | 80e69ff89307a7393193520e0f2fe51cdc21540e /mail/e-mail-shell-module-settings.c | |
parent | 7ed5f59771262651ee8b0d29a123e43a6ac0b6c6 (diff) | |
download | gsoc2013-evolution-fd564be3203400024147469faaa7de0884861566.tar gsoc2013-evolution-fd564be3203400024147469faaa7de0884861566.tar.gz gsoc2013-evolution-fd564be3203400024147469faaa7de0884861566.tar.bz2 gsoc2013-evolution-fd564be3203400024147469faaa7de0884861566.tar.lz gsoc2013-evolution-fd564be3203400024147469faaa7de0884861566.tar.xz gsoc2013-evolution-fd564be3203400024147469faaa7de0884861566.tar.zst gsoc2013-evolution-fd564be3203400024147469faaa7de0884861566.zip |
Clean up the EMFormat stack. Add some GObject properties to bind to.
Add some handy color conversion functions to e-util.
svn path=/branches/kill-bonobo/; revision=37290
Diffstat (limited to 'mail/e-mail-shell-module-settings.c')
-rw-r--r-- | mail/e-mail-shell-module-settings.c | 42 |
1 files changed, 35 insertions, 7 deletions
diff --git a/mail/e-mail-shell-module-settings.c b/mail/e-mail-shell-module-settings.c index e657296de3..94bfd1ac11 100644 --- a/mail/e-mail-shell-module-settings.c +++ b/mail/e-mail-shell-module-settings.c @@ -95,15 +95,15 @@ e_mail_shell_module_init_settings (EShell *shell) e_shell_settings_install_property ( g_param_spec_string ( - "mail-citation-color", + "mail-charset-default", + NULL, NULL, NULL, - "#737373", G_PARAM_READWRITE)); e_shell_settings_bind_to_gconf ( - shell_settings, "mail-citation-color", - "/apps/evolution/mail/display/citation_colour"); + shell_settings, "mail-charset-default", + "/apps/evolution/mail/display/charset"); e_shell_settings_install_property ( g_param_spec_boolean ( @@ -118,6 +118,18 @@ e_mail_shell_module_init_settings (EShell *shell) "/apps/evolution/mail/junk/check_incoming"); e_shell_settings_install_property ( + g_param_spec_string ( + "mail-citation-color", + NULL, + NULL, + "#737373", + G_PARAM_READWRITE)); + + e_shell_settings_bind_to_gconf ( + shell_settings, "mail-citation-color", + "/apps/evolution/mail/display/citation_colour"); + + e_shell_settings_install_property ( g_param_spec_boolean ( "mail-confirm-expunge", NULL, @@ -201,6 +213,7 @@ e_mail_shell_module_init_settings (EShell *shell) shell_settings, "mail-force-message-limit", "/apps/evolution/mail/display/force_message_limit"); + /* This value corresponds to MailConfigForwardStyle enum. */ e_shell_settings_install_property ( g_param_spec_int ( "mail-forward-style", @@ -215,6 +228,21 @@ e_mail_shell_module_init_settings (EShell *shell) shell_settings, "mail-forward-style", "/apps/evolution/mail/format/forward_style"); + /* This value corresponds to MailConfigHTTPMode enum. */ + e_shell_settings_install_property ( + g_param_spec_int ( + "mail-image-loading-policy", + NULL, + NULL, + 0, + G_MAXINT, + 0, + G_PARAM_READWRITE)); + + e_shell_settings_bind_to_gconf ( + shell_settings, "mail-image-loading-policy", + "/apps/evolution/mail/display/load_http_images"); + e_shell_settings_install_property ( g_param_spec_boolean ( "mail-magic-spacebar", @@ -303,9 +331,9 @@ e_mail_shell_module_init_settings (EShell *shell) shell_settings, "mail-prompt-delete-in-vfolder", "/apps/evolution/mail/prompts/delete_in_vfolder"); - /* Note: This value corresponds to MailConfigReplyStyle enum, - * but the ordering of the combo box items in preferences - * has changed. We use transformation functions there. */ + /* This value corresponds to MailConfigReplyStyle enum, + * but the ordering of the combo box items in preferences + * has changed. We use transformation functions there. */ e_shell_settings_install_property ( g_param_spec_int ( "mail-reply-style", |