aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-component-registry.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-component-registry.c')
-rw-r--r--shell/e-component-registry.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/shell/e-component-registry.c b/shell/e-component-registry.c
index 71170f8e82..b1a6560078 100644
--- a/shell/e-component-registry.c
+++ b/shell/e-component-registry.c
@@ -130,11 +130,14 @@ query_components (EComponentRegistry *registry)
Bonobo_ServerInfoList *info_list;
CORBA_Environment ev;
GSList *language_list;
+ char *query;
int i;
CORBA_exception_init (&ev);
+ query = g_strdup_printf ("repo_ids.has ('IDL:GNOME/Evolution/Component:%s')", BASE_VERSION);
+ info_list = bonobo_activation_query (query, NULL, &ev);
+ g_free (query);
- info_list = bonobo_activation_query ("repo_ids.has ('IDL:GNOME/Evolution/Component:1.0')", NULL, &ev);
if (BONOBO_EX (&ev)) {
char *ex_text = bonobo_exception_get_text (&ev);
g_warning ("Cannot query for components: %s\n", ex_text);