diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-09-15 02:50:50 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-09-15 02:56:15 +0800 |
commit | c7f5d54cb7a978b2daf51cab0e1e3bae28a92a5d (patch) | |
tree | c49c024fbfc92531e14a759ce873014072218917 /modules | |
parent | 95fe9256305bad92697bf1043efcbd61238cf94b (diff) | |
download | gsoc2013-evolution-c7f5d54cb7a978b2daf51cab0e1e3bae28a92a5d.tar gsoc2013-evolution-c7f5d54cb7a978b2daf51cab0e1e3bae28a92a5d.tar.gz gsoc2013-evolution-c7f5d54cb7a978b2daf51cab0e1e3bae28a92a5d.tar.bz2 gsoc2013-evolution-c7f5d54cb7a978b2daf51cab0e1e3bae28a92a5d.tar.lz gsoc2013-evolution-c7f5d54cb7a978b2daf51cab0e1e3bae28a92a5d.tar.xz gsoc2013-evolution-c7f5d54cb7a978b2daf51cab0e1e3bae28a92a5d.tar.zst gsoc2013-evolution-c7f5d54cb7a978b2daf51cab0e1e3bae28a92a5d.zip |
Kill the subject-thread plugin.
All this time I never realized the subject-thread plugin was nothing
more than a stupid checkbox. The actual thread-by-subject code lives
in the core mail library.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/mail/e-mail-shell-settings.c | 4 | ||||
-rw-r--r-- | modules/mail/em-mailer-prefs.c | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/modules/mail/e-mail-shell-settings.c b/modules/mail/e-mail-shell-settings.c index ca51acf72f..690a0ef5b8 100644 --- a/modules/mail/e-mail-shell-settings.c +++ b/modules/mail/e-mail-shell-settings.c @@ -186,6 +186,10 @@ e_mail_shell_settings_init (EShell *shell) "/apps/evolution/mail/display/side_bar_search"); e_shell_settings_install_property_for_key ( + "mail-thread-by-subject", + "/apps/evolution/mail/display/thread_subject"); + + e_shell_settings_install_property_for_key ( "mail-use-custom-fonts", "/apps/evolution/mail/display/fonts/use_custom"); diff --git a/modules/mail/em-mailer-prefs.c b/modules/mail/em-mailer-prefs.c index 21f233fd61..570da0ebff 100644 --- a/modules/mail/em-mailer-prefs.c +++ b/modules/mail/em-mailer-prefs.c @@ -847,6 +847,11 @@ em_mailer_prefs_construct (EMMailerPrefs *prefs, e_binding_transform_color_to_string, NULL, NULL); + widget = e_builder_get_widget (prefs->builder, "thread-by-subject"); + e_mutual_binding_new ( + shell_settings, "mail-thread-by-subject", + widget, "active"); + /* Deleting Mail */ widget = e_builder_get_widget (prefs->builder, "chkEmptyTrashOnExit"); e_mutual_binding_new ( |