From 6b1869912eb6d5b70bd36e2b52c0f746da5a1825 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Fri, 17 Aug 2001 03:01:37 +0000 Subject: Respect the user's desire to be prompted to confirm that he wants to 2001-08-16 Jeffrey Stedfast * mail-callbacks.c (confirm_expunge): Respect the user's desire to be prompted to confirm that he wants to expunge the blasted folder. Also, don't set the usize - that's just an evil hack and you may find it will cut off text once the label has been translated. (create_msg_composer): In order for the security options to be checked when composing a new message, we must set the from account explicitly even though the composer hdrs sets the default from account and emits the signal because at that stage the composer hasn't yet connected to the signals and thus the bonobo menu items don't get set. * mail-config.c (mail_config_set_confirm_expunge): New. (mail_config_get_confirm_expunge): New. svn path=/trunk/; revision=12141 --- mail/mail-config.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mail/mail-config.h') diff --git a/mail/mail-config.h b/mail/mail-config.h index db057f0656..76aa3b60cd 100644 --- a/mail/mail-config.h +++ b/mail/mail-config.h @@ -148,6 +148,9 @@ void mail_config_set_prompt_empty_subject (gboolean value); gboolean mail_config_get_prompt_only_bcc (void); void mail_config_set_prompt_only_bcc (gboolean value); +gboolean mail_config_get_confirm_expunge (void); +void mail_config_set_confirm_expunge (gboolean value); + CamelPgpType mail_config_get_pgp_type (void); void mail_config_set_pgp_type (CamelPgpType pgp_type); -- cgit