aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-shell-module-settings.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2009-02-08 06:04:14 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2009-02-08 06:04:14 +0800
commit566f8f6208f1e12ad342517abf550df870f07f2e (patch)
treeb140186d0505cdbc3e85145fc0d8eb7d180c3a45 /mail/e-mail-shell-module-settings.c
parent14e8637d6b1a98b4ed6bedc70d0fca744b7b3e0f (diff)
downloadgsoc2013-evolution-566f8f6208f1e12ad342517abf550df870f07f2e.tar
gsoc2013-evolution-566f8f6208f1e12ad342517abf550df870f07f2e.tar.gz
gsoc2013-evolution-566f8f6208f1e12ad342517abf550df870f07f2e.tar.bz2
gsoc2013-evolution-566f8f6208f1e12ad342517abf550df870f07f2e.tar.lz
gsoc2013-evolution-566f8f6208f1e12ad342517abf550df870f07f2e.tar.xz
gsoc2013-evolution-566f8f6208f1e12ad342517abf550df870f07f2e.tar.zst
gsoc2013-evolution-566f8f6208f1e12ad342517abf550df870f07f2e.zip
More preferences cleanup. Convert forward and reply style option
menus to combo boxes, and bind them to EShellSettings properties. svn path=/branches/kill-bonobo/; revision=37234
Diffstat (limited to 'mail/e-mail-shell-module-settings.c')
-rw-r--r--mail/e-mail-shell-module-settings.c31
1 files changed, 31 insertions, 0 deletions
diff --git a/mail/e-mail-shell-module-settings.c b/mail/e-mail-shell-module-settings.c
index 06474755ef..e3d77e6a82 100644
--- a/mail/e-mail-shell-module-settings.c
+++ b/mail/e-mail-shell-module-settings.c
@@ -190,6 +190,20 @@ e_mail_shell_module_init_settings (EShell *shell)
"/apps/evolution/mail/display/force_message_limit");
e_shell_settings_install_property (
+ g_param_spec_int (
+ "mail-forward-style",
+ NULL,
+ NULL,
+ 0,
+ G_MAXINT,
+ 0,
+ G_PARAM_READWRITE));
+
+ e_shell_settings_bind_to_gconf (
+ shell_settings, "mail-forward-style",
+ "/apps/evolution/mail/format/forward_style");
+
+ e_shell_settings_install_property (
g_param_spec_boolean (
"mail-magic-spacebar",
NULL,
@@ -277,6 +291,23 @@ 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. */
+ e_shell_settings_install_property (
+ g_param_spec_int (
+ "mail-reply-style",
+ NULL,
+ NULL,
+ 0,
+ G_MAXINT,
+ 0,
+ G_PARAM_READWRITE));
+
+ e_shell_settings_bind_to_gconf (
+ shell_settings, "mail-reply-style",
+ "/apps/evolution/mail/format/reply_style");
+
e_shell_settings_install_property (
g_param_spec_boolean (
"mail-show-animated-images",