From 16af96a2ab47b8f58f1c86380162e26530842868 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Mon, 18 Mar 2002 16:52:27 +0000 Subject: "Forward as iCalendar" uses set_body, so we can't make the composer * Evolution-Composer.idl, evolution-composer.c (impl_Composer_show): "Forward as iCalendar" uses set_body, so we can't make the composer un-showable after doing that. So get rid of the "cannot show" exception. * e-msg-composer.c (e_msg_composer_set_body): Prepare the composer to be shown in its weird state: Put an explanatory message in the body, then call disable_editor. (disable_editor): Common editor-disabling code - makes the editor and attachment bar insensitive and disables any menu items that could be used to modify them. (e_msg_composer_new_redirect): Use disable_editor here now. svn path=/trunk/; revision=16191 --- composer/Evolution-Composer.idl | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'composer/Evolution-Composer.idl') diff --git a/composer/Evolution-Composer.idl b/composer/Evolution-Composer.idl index 543e6edd2d..5163197220 100644 --- a/composer/Evolution-Composer.idl +++ b/composer/Evolution-Composer.idl @@ -70,8 +70,7 @@ module Evolution { * Sets the body of the composer to @body. If * @mime_type is something other than "text/plain" or * "text/html", the composer will not be editable - * (calling show() will raise an exception), and the - * composer will not attempt to assign a non-UTF8 + * and it will not attempt to assign a non-UTF8 * character set to the data. However, @mime_type may * include parameters in that case. **/ @@ -123,9 +122,7 @@ module Evolution { * Shows the composer and lets the user edit things * and send the message. **/ - exception CannotShow {}; - void show () - raises (CannotShow); + void show (); /** -- cgit v1.2.3