diff options
author | Not Zed <NotZed@Ximian.com> | 2004-01-30 11:10:14 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-01-30 11:10:14 +0800 |
commit | dab1c82a2155a56ae2444108b4182bb7c19d4889 (patch) | |
tree | 5cb774b3d6440f04e94727a5ca00043a3b2e2c77 /mail/mail-component.c | |
parent | 78e3e48c9bd23c0cddae422cbb6012edab243665 (diff) | |
download | gsoc2013-evolution-dab1c82a2155a56ae2444108b4182bb7c19d4889.tar.gz gsoc2013-evolution-dab1c82a2155a56ae2444108b4182bb7c19d4889.tar.zst gsoc2013-evolution-dab1c82a2155a56ae2444108b4182bb7c19d4889.zip |
** See bug #53558 (plus other fixes/cleanups)
2004-01-30 Not Zed <NotZed@Ximian.com>
** See bug #53558 (plus other fixes/cleanups)
* em-format.c (emf_format_secure): default implementation, handle
output of inner part, but dont output any sign/encrypt info.
(emf_multipart_signed, emf_multipart_encrypted): replaced with
implementations from em-format-html.c, which now call
em_format_format_secure to output guts.
(emf_class_init): hook-up virtual method format_secure.
* em-format.[ch]: add a virtual method for outputing secured
parts. Moved all validity stuff from em-format-html.[ch] to here.
* mail-component.c (impl_createControls): set the session
interactive too.
* em-format-html-display.c: make smime stuff dependent on
HAVE_NSS.
(efhd_multipart_signed, efhd_application_xpkcs7mime): removed, now
handled by root class.
(efhd_output_secure): renamed to efhd_format_secure, and use
EMFormat::format_secure to kick off.
(efhd_class_init): setup format_secure virtual method.
* em-format-html.c (efh_multipart_encrypted): We need to handle
this here so we can properly keep track of the ciphervalidity
stuff. Also do it directly using the context, not
multipartencrypted part.
(efh_multipart_signed): with unsupported signature format, format
as multipart/mixed, not as an attachment.
(efh_multipart_signed): make the smime stuff optional.
(efh_multipart_signed, efh_multipart_encrypted): Moved to
em-format.c.
(efh_application_xpkcs7mime): moved to em-format.c
(efh_output_secure): renamed to efh_format_secure, linked into
virtual method. call parent class to do the validation foo then
output the info if needed.
(efh_format_message): fixed access to validity stuff to parent
object.
(efh_class_init): hook up format_secure virtual method.
(*): removed some now-unused headers.
svn path=/trunk/; revision=24531
Diffstat (limited to 'mail/mail-component.c')
-rw-r--r-- | mail/mail-component.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/mail-component.c b/mail/mail-component.c index bda9d9801d..400a493008 100644 --- a/mail/mail-component.c +++ b/mail/mail-component.c @@ -403,8 +403,9 @@ impl_createControls (PortableServer_Servant servant, GtkWidget *view_widget; GtkWidget *statusbar_widget; + mail_session_set_interactive(TRUE); mc_startup(mail_component); - + view_widget = em_folder_browser_new (); tree_widget = (GtkWidget *) em_folder_tree_new_with_model (priv->model); em_folder_tree_enable_drag_and_drop ((EMFolderTree *) tree_widget); |