From ed46ce99fed3badd4488706e8b82fc4bfc3402af Mon Sep 17 00:00:00 2001 From: Larry Ewing Date: Tue, 3 Jul 2001 19:31:06 +0000 Subject: remove the timer id. 2001-07-03 Larry Ewing * e-msg-composer.h: remove the timer id. * e-msg-composer.c: use autosave manager. (autosave_save_draft): moved initialization to autosave_init_file. Only save the buffer if we get a valid message. (autosave_load_draft): unlink the old file, we own it now. and unref the stream when we are done with it. (autosave_is_owned): check if we own the file, this needs to be extended to check for other valid processes. (autosave_query_load_orphans): make this search through the managers list as it walks the dir. (autosave_query_load_orphans): make sure we use the full path. (autosave_run_foreach_cb): timeout foreach handler. (autosave_run): the timeout function. (autosave_start): start timer. (autosave_stop): stop timer. (autosave_register): register a composer with the autosave manager. (autosave_unregister): unregister a composer. (destroy): unregister the composer, everything is okay. (init): register the composer. svn path=/trunk/; revision=10762 --- composer/ChangeLog | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) (limited to 'composer/ChangeLog') diff --git a/composer/ChangeLog b/composer/ChangeLog index 3956c9c1e9..2e3d5cde89 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,6 +1,32 @@ +2001-07-03 Larry Ewing + + * e-msg-composer.h: remove the timer id. + + * e-msg-composer.c: use autosave manager. + (autosave_save_draft): moved initialization to + autosave_init_file. Only save the buffer if we get a valid + message. + (autosave_load_draft): unlink the old file, we own it now. and + unref the stream when we are done with it. + (autosave_is_owned): check if we own the file, this needs to be + extended to check for other valid processes. + (autosave_query_load_orphans): make this search through the + managers list as it walks the dir. + (autosave_query_load_orphans): make sure we use the full path. + (autosave_run_foreach_cb): timeout foreach handler. + (autosave_run): the timeout function. + (autosave_start): start timer. + (autosave_stop): stop timer. + (autosave_register): register a composer with the autosave manager. + (autosave_unregister): unregister a composer. + (destroy): unregister the composer, everything is okay. + (init): register the composer. + 2001-07-02 Larry Ewing - * e-msg-composer.c (autosave_query_load_orphans): querythe user to + * e-msg-composer.h: add autosave members. + + * e-msg-composer.c (autosave_query_load_orphans): query the user to check if they want to load any orphans we've found. (autosave_query_cb): the dialog callback. (autosave_is_orphan): test if if a particular file is orphaned. -- cgit v1.2.3