diff options
author | Not Zed <NotZed@Ximian.com> | 2003-03-27 07:53:05 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2003-03-27 07:53:05 +0800 |
commit | 33555a2b34cfca5f850c87fa35ee26f79233a8f1 (patch) | |
tree | 6af97fa41080fbb78f91a4860609fa23f3652336 /my-evolution/e-summary-preferences.c | |
parent | 85dd6999116410dc0558cf2413f149bf3d8fe237 (diff) | |
download | gsoc2013-evolution-33555a2b34cfca5f850c87fa35ee26f79233a8f1.tar.gz gsoc2013-evolution-33555a2b34cfca5f850c87fa35ee26f79233a8f1.tar.zst gsoc2013-evolution-33555a2b34cfca5f850c87fa35ee26f79233a8f1.zip |
** see bug #40141
2003-03-27 Not Zed <NotZed@Ximian.com>
** see bug #40141
* e-summary-preferences.c (config_control_destroy_cb): Dont save
prefs here, but restore the last saved.
(config_control_apply_cb): save preferences here.
svn path=/trunk/; revision=20533
Diffstat (limited to 'my-evolution/e-summary-preferences.c')
-rw-r--r-- | my-evolution/e-summary-preferences.c | 13 |
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 * |