diff options
author | Dan Winship <danw@src.gnome.org> | 2002-03-19 00:52:27 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2002-03-19 00:52:27 +0800 |
commit | 16af96a2ab47b8f58f1c86380162e26530842868 (patch) | |
tree | 83cf70adafd65bdd70071befe20b431e3e3f34ad /composer/evolution-composer.c | |
parent | bc73d24d04269d1cd4df99acdb511580626ca98f (diff) | |
download | gsoc2013-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.c')
-rw-r--r-- | composer/evolution-composer.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/composer/evolution-composer.c b/composer/evolution-composer.c index 1630d97ce3..b6aec0af29 100644 --- a/composer/evolution-composer.c +++ b/composer/evolution-composer.c @@ -209,13 +209,6 @@ impl_Composer_show (PortableServer_Servant servant, bonobo_object = bonobo_object_from_servant (servant); composer = EVOLUTION_COMPOSER (bonobo_object); - if (composer->composer->mime_body) { - CORBA_exception_set (ev, CORBA_USER_EXCEPTION, - ex_GNOME_Evolution_Composer_CannotShow, - NULL); - return; - } - gtk_widget_show (GTK_WIDGET (composer->composer)); } |