From 0f99b321bc1f015d8805feb13ac75208cfff6a0d Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Thu, 13 Nov 2003 21:35:13 +0000 Subject: (impl_sendAndReceive): New, implementation for Evolution.Component.sendAndReceive. (mail_component_class_init): Install. svn path=/trunk/; revision=23335 --- mail/ChangeLog | 6 ++++++ mail/mail-component.c | 8 ++++++++ 2 files changed, 14 insertions(+) diff --git a/mail/ChangeLog b/mail/ChangeLog index 113a38c770..51db8c22cc 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +2003-11-13 Ettore Perazzoli + + * mail-component.c (impl_sendAndReceive): New, implementation for + Evolution.Component.sendAndReceive. + (mail_component_class_init): Install. + 2003-11-13 Jeffrey Stedfast * mail-vfolder.c (context_rule_removed): Modified to not use diff --git a/mail/mail-component.c b/mail/mail-component.c index 486477e46a..5c2c56ac7e 100644 --- a/mail/mail-component.c +++ b/mail/mail-component.c @@ -400,6 +400,13 @@ impl_requestCreateItem (PortableServer_Servant servant, em_utils_compose_new_message (); } +static void +impl_sendAndReceive (PortableServer_Servant servant, + CORBA_Environment *ev) +{ + mail_send_receive (); +} + /* Initialization. */ @@ -417,6 +424,7 @@ mail_component_class_init (MailComponentClass *class) epv->createControls = impl_createControls; epv->_get_userCreatableItems = impl__get_userCreatableItems; epv->requestCreateItem = impl_requestCreateItem; + epv->sendAndReceive = impl_sendAndReceive; } static void -- cgit