aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/e-summary-preferences.c
diff options
context:
space:
mode:
Diffstat (limited to 'my-evolution/e-summary-preferences.c')
-rw-r--r--my-evolution/e-summary-preferences.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/my-evolution/e-summary-preferences.c b/my-evolution/e-summary-preferences.c
index bc37c3326f..c99069c0d2 100644
--- a/my-evolution/e-summary-preferences.c
+++ b/my-evolution/e-summary-preferences.c
@@ -1214,19 +1214,16 @@ config_control_apply_cb (EvolutionConfigControl *control,
}
global_preferences->display_folders = get_folders_from_view(pd->mail->storage_set_view);
+ e_summary_preferences_save (global_preferences);
+
e_summary_reconfigure_all ();
}
static void
-config_control_destroy_cb (EvolutionConfigControl *config_control,
- void *data)
+config_control_destroy_cb (EvolutionConfigControl *config_control, void *data)
{
- PropertyData *pd;
-
- pd = (PropertyData *) data;
-
- e_summary_preferences_save (global_preferences);
- free_property_dialog (pd);
+ e_summary_preferences_restore(global_preferences);
+ free_property_dialog ((PropertyData *)data);
}
BonoboObject *