diff options
author | JP Rosevear <jpr@ximian.com> | 2001-06-20 07:01:33 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2001-06-20 07:01:33 +0800 |
commit | 477830f7602e726cacf24fdbfb7d4c648b1a8bcb (patch) | |
tree | 2ebe85aea1795e87662799ecb7e1fbe3f0b8cc2e /composer/evolution-composer.c | |
parent | 968af9b95e75fa42c656abd99ab9146d0b3d6cc6 (diff) | |
download | gsoc2013-evolution-477830f7602e726cacf24fdbfb7d4c648b1a8bcb.tar.gz gsoc2013-evolution-477830f7602e726cacf24fdbfb7d4c648b1a8bcb.tar.zst gsoc2013-evolution-477830f7602e726cacf24fdbfb7d4c648b1a8bcb.zip |
send the message
2001-06-19 JP Rosevear <jpr@ximian.com>
* evolution-composer.c (impl_Composer_send): send the message
* Evolution-Composer.idl: add a "send" method to send a message
without showing the editor
svn path=/trunk/; revision=10309
Diffstat (limited to 'composer/evolution-composer.c')
-rw-r--r-- | composer/evolution-composer.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/composer/evolution-composer.c b/composer/evolution-composer.c index abca28306b..ad4efd6b7d 100644 --- a/composer/evolution-composer.c +++ b/composer/evolution-composer.c @@ -196,6 +196,19 @@ impl_Composer_show (PortableServer_Servant servant, gtk_widget_show (GTK_WIDGET (composer->composer)); } +static void +impl_Composer_send (PortableServer_Servant servant, + CORBA_Environment *ev) +{ + BonoboObject *bonobo_object; + EvolutionComposer *composer; + + bonobo_object = bonobo_object_from_servant (servant); + composer = EVOLUTION_COMPOSER (bonobo_object); + + send_cb (composer->composer, NULL); +} + POA_GNOME_Evolution_Composer__epv * evolution_composer_get_epv (void) { @@ -207,6 +220,7 @@ evolution_composer_get_epv (void) epv->attachMIME = impl_Composer_attach_MIME; epv->attachData = impl_Composer_attach_data; epv->show = impl_Composer_show; + epv->send = impl_Composer_send; return epv; } |