aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog8
-rw-r--r--shell/evolution-shell-component-client.c6
2 files changed, 14 insertions, 0 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 8228fd213b..f19faa32c0 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,11 @@
+2000-06-19 Dan Winship <danw@helixcode.com>
+
+ * evolution-shell-component-client.c
+ (evolution_shell_component_client_new): Add a warning before
+ crashing due to a known bug when it can't activate a component, so
+ people don't have to waste any time trying to figure out what's
+ up.
+
2000-06-13 Ettore Perazzoli <ettore@helixcode.com>
* Makefile.am: Compile the CORBA-built files,
diff --git a/shell/evolution-shell-component-client.c b/shell/evolution-shell-component-client.c
index 29427501ab..7604c9dbce 100644
--- a/shell/evolution-shell-component-client.c
+++ b/shell/evolution-shell-component-client.c
@@ -359,6 +359,12 @@ evolution_shell_component_client_new (const char *id)
corba_object = activate_object_from_id (id);
if (corba_object == CORBA_OBJECT_NIL) {
+ printf ("Could not activate component %s.\n"
+ "(Maybe you need to set OAF_INFO_PATH?)\n"
+ "CRASHING!\n");
+ /* FIXME: This is not the right call here. It will SEGV
+ * in Bonobo_Unknown_unref.
+ */
bonobo_object_unref (BONOBO_OBJECT (new));
return NULL;
}