aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/folder-browser-factory.c7
2 files changed, 13 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index ce3e7bb60c..4bba22d4b3 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,10 @@
+2000-03-13 bertrand <bertrand@helixcode.com>
+
+ * folder-browser-factory.c (folder_browser_set_shell):
+ for testing and demonstration purpose, immediately
+ register a fake service.
+
+
2000-03-12 bertrand <bertrand@helixcode.com>
* folder-browser-factory.c (folder_browser_factory_init):
diff --git a/mail/folder-browser-factory.c b/mail/folder-browser-factory.c
index fb8ed18aa1..17b0f16325 100644
--- a/mail/folder-browser-factory.c
+++ b/mail/folder-browser-factory.c
@@ -33,16 +33,21 @@ folder_browser_set_shell (EvolutionServiceRepository *sr,
void *closure)
{
FolderBrowser *folder_browser;
+ CORBA_Environment ev;
g_return_if_fail (closure);
g_return_if_fail (IS_FOLDER_BROWSER (closure));
g_return_if_fail (shell != CORBA_OBJECT_NIL);
+ CORBA_exception_init (&ev);
+
folder_browser = FOLDER_BROWSER (closure);
printf ("I AM A FOLDER BROWSER AND I AM STORING THE SHELL\n");
/* FIXME : ref the shell here */
folder_browser->shell = shell;
-
+
+ /* test the component->shell registration */
+ Evolution_Shell_register_service (shell, Evolution_Shell_MAIL_STORE, "a_service", &ev);
}
static void