aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.h
diff options
context:
space:
mode:
authorJason Leach <jasonleach@usa.net>2001-01-26 03:35:54 +0800
committerJacob Leach <jleach@src.gnome.org>2001-01-26 03:35:54 +0800
commit024435f8ccbc749533474c882627680145649a4c (patch)
treec766fcebd81c22db378c3e10798485c1d571b45d /composer/e-msg-composer.h
parent593f0036f8dfa204eb0d70c6ad5b5243ee2b49a7 (diff)
downloadgsoc2013-evolution-024435f8ccbc749533474c882627680145649a4c.tar.gz
gsoc2013-evolution-024435f8ccbc749533474c882627680145649a4c.tar.zst
gsoc2013-evolution-024435f8ccbc749533474c882627680145649a4c.zip
(Moving the flag for has_changed from the Hdrs to the Composer itself.
2001-01-25 Jason Leach <jasonleach@usa.net> (Moving the flag for has_changed from the Hdrs to the Composer itself. Providing public methods to set/unset a composer as changed. Adding attachments now flags the composer as changed) * e-msg-composer.c (e_msg_composer_unset_changed): New function. (e_msg_composer_set_changed): New function. * e-msg-composer.c (hdrs_changed_cb): Callback to the new signal, uses the new composer_set_changed. (attachment_bar_changed_cb): Add a call to the new _set_changed. * e-msg-composer-hdrs.c (class_init): New signal "hdrs_changed" to tell the parent composer that any of the headers have changed. (addressbook_entry_changed): emit the new signal here. (entry_changed): And here. svn path=/trunk/; revision=7818
Diffstat (limited to 'composer/e-msg-composer.h')
-rw-r--r--composer/e-msg-composer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/composer/e-msg-composer.h b/composer/e-msg-composer.h
index 428bd9f110..ef60ebd1e4 100644
--- a/composer/e-msg-composer.h
+++ b/composer/e-msg-composer.h
@@ -77,6 +77,8 @@ struct _EMsgComposer {
gboolean send_html : 1;
gboolean pgp_sign : 1;
gboolean pgp_encrypt : 1;
+
+ gboolean has_changed : 1;
};
struct _EMsgComposerClass {
@@ -128,6 +130,9 @@ gboolean e_msg_composer_get_pgp_encrypt (EMsgComposer *compose
void e_msg_composer_clear_inlined_table (EMsgComposer *composer);
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);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */