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
This commit is contained in:
Not Zed
2003-03-26 23:53:05 +00:00
committed by Michael Zucci
parent 85dd699911
commit 33555a2b34
2 changed files with 13 additions and 8 deletions

View File

@ -1,3 +1,11 @@
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.
2003-03-26 Ettore Perazzoli <ettore@ximian.com>
* e-summary-mail.c: New member physical_uri in struct

View File

@ -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 *