From c7f5d54cb7a978b2daf51cab0e1e3bae28a92a5d Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 14 Sep 2010 14:50:50 -0400 Subject: 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. --- modules/mail/e-mail-shell-settings.c | 4 ++++ modules/mail/em-mailer-prefs.c | 5 +++++ 2 files changed, 9 insertions(+) (limited to 'modules/mail') 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 @@ -185,6 +185,10 @@ e_mail_shell_settings_init (EShell *shell) "mail-side-bar-search", "/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 ( -- cgit v1.2.3