diff options
author | Radek Doulik <rodo@ximian.com> | 2002-07-24 06:42:59 +0800 |
---|---|---|
committer | Radek Doulik <rodo@src.gnome.org> | 2002-07-24 06:42:59 +0800 |
commit | 1bddc83831d27affaeb2d53d6808c696cecb5021 (patch) | |
tree | c6073077b2c93a1134e9721ed4b128736ad6eae0 | |
parent | f14e08e0a8ebbe645ddc1396f6c5fa0d6ac48f2b (diff) | |
download | gsoc2013-evolution-1bddc83831d27affaeb2d53d6808c696cecb5021.tar.gz gsoc2013-evolution-1bddc83831d27affaeb2d53d6808c696cecb5021.tar.zst gsoc2013-evolution-1bddc83831d27affaeb2d53d6808c696cecb5021.zip |
restart automanager to avoid multiple dialog apearing
2002-07-23 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (autosave_run): restart automanager to avoid
multiple dialog apearing
svn path=/trunk/; revision=17559
-rw-r--r-- | composer/ChangeLog | 5 | ||||
-rw-r--r-- | composer/e-msg-composer.c | 8 |
2 files changed, 11 insertions, 2 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog index 55ef9d90e2..9b3f1f6b34 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,3 +1,8 @@ +2002-07-23 Radek Doulik <rodo@ximian.com> + + * e-msg-composer.c (autosave_run): restart automanager to avoid + multiple dialog apearing + 2002-07-23 Not Zed <NotZed@Ximian.com> * Applied patch below. diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index 5d044725c9..794c588b18 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -163,7 +163,6 @@ static void handle_multipart_signed (EMsgComposer *composer, CamelMultipart *mul static void set_editor_signature (EMsgComposer *composer); - static GByteArray * get_text (Bonobo_PersistStream persist, char *format) @@ -1117,6 +1116,8 @@ struct _AutosaveManager { }; static AutosaveManager *am = NULL; +static void autosave_manager_start (AutosaveManager *am); +static void autosave_manager_stop (AutosaveManager *am); static gboolean autosave_save_draft (EMsgComposer *composer) @@ -1302,8 +1303,11 @@ autosave_run (gpointer data) AutosaveManager *am = data; g_hash_table_foreach (am->table, (GHFunc)autosave_run_foreach_cb, am); + + autosave_manager_stop (am); + autosave_manager_start (am); - return TRUE; + return FALSE; } static gboolean |