aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.h
diff options
context:
space:
mode:
author2 <NotZed@Ximian.com>2001-11-03 08:01:39 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-11-03 08:01:39 +0800
commit8fcca3dc0b5e3355977230ce61dc172652e69032 (patch)
tree7d71adb32ffc404a06af97487583a5eda5c32582 /composer/e-msg-composer.h
parentd2e6a28e22a2352d4622265693405b3f193c6aee (diff)
downloadgsoc2013-evolution-8fcca3dc0b5e3355977230ce61dc172652e69032.tar.gz
gsoc2013-evolution-8fcca3dc0b5e3355977230ce61dc172652e69032.tar.zst
gsoc2013-evolution-8fcca3dc0b5e3355977230ce61dc172652e69032.zip
New function, enable/disable autosave for the composer temporarily.
2001-11-02 <NotZed@Ximian.com> * e-msg-composer.c (e_msg_composer_set_enable_autosave): New function, enable/disable autosave for the composer temporarily. (autosave_run_foreach_cb): Only save if we have enable autosave turned on. In other cases we want to save it regardless. svn path=/trunk/; revision=14574
Diffstat (limited to 'composer/e-msg-composer.h')
-rw-r--r--composer/e-msg-composer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/composer/e-msg-composer.h b/composer/e-msg-composer.h
index dab1db16bf..2f8badf908 100644
--- a/composer/e-msg-composer.h
+++ b/composer/e-msg-composer.h
@@ -95,6 +95,8 @@ struct _EMsgComposer {
gboolean has_changed : 1;
gboolean in_signature_insert : 1;
+
+ gboolean enable_autosave : 1;
};
struct _EMsgComposerClass {
@@ -159,6 +161,7 @@ gchar * e_msg_composer_guess_mime_type (const gchar *file_name);
void e_msg_composer_set_changed (EMsgComposer *composer);
void e_msg_composer_unset_changed (EMsgComposer *composer);
gboolean e_msg_composer_is_dirty (EMsgComposer *composer);
+void e_msg_composer_set_enable_autosave (EMsgComposer *composer, gboolean enabled);
/* PGP */
void e_msg_composer_set_pgp_sign (EMsgComposer *composer,