aboutsummaryrefslogtreecommitdiffstats
path: root/composer/Evolution-Composer.idl
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2002-03-19 00:52:27 +0800
committerDan Winship <danw@src.gnome.org>2002-03-19 00:52:27 +0800
commit16af96a2ab47b8f58f1c86380162e26530842868 (patch)
tree83cf70adafd65bdd70071befe20b431e3e3f34ad /composer/Evolution-Composer.idl
parentbc73d24d04269d1cd4df99acdb511580626ca98f (diff)
downloadgsoc2013-evolution-16af96a2ab47b8f58f1c86380162e26530842868.tar.gz
gsoc2013-evolution-16af96a2ab47b8f58f1c86380162e26530842868.tar.zst
gsoc2013-evolution-16af96a2ab47b8f58f1c86380162e26530842868.zip
"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
Diffstat (limited to 'composer/Evolution-Composer.idl')
-rw-r--r--composer/Evolution-Composer.idl7
1 files changed, 2 insertions, 5 deletions
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 ();
/**