aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/mail-component.c8
2 files changed, 14 insertions, 0 deletions
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 <ettore@ximian.com>
+
+ * mail-component.c (impl_sendAndReceive): New, implementation for
+ Evolution.Component.sendAndReceive.
+ (mail_component_class_init): Install.
+
2003-11-13 Jeffrey Stedfast <fejj@ximian.com>
* 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