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.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/shell/e-component-registry.c b/shell/e-component-registry.c
index a803af223c..29d19b3812 100644
--- a/shell/e-component-registry.c
+++ b/shell/e-component-registry.c
@@ -134,6 +134,7 @@ query_components (EComponentRegistry *registry)
Bonobo_ServerInfoList *info_list;
CORBA_Environment ev;
GSList *language_list;
+ const GList *l;
char *query;
int i;
@@ -150,7 +151,9 @@ query_components (EComponentRegistry *registry)
return;
}
- language_list = e_get_language_list ();
+ l = gnome_i18n_get_language_list("LC_MESSAGES");
+ for (language_list=NULL;l;l=l->next)
+ language_list = g_slist_append(language_list, l->data);
for (i = 0; i < info_list->_length; i++) {
const char *id;
@@ -191,6 +194,7 @@ query_components (EComponentRegistry *registry)
if (icon != NULL)
g_object_unref (icon);
}
+ g_slist_free(language_list);
CORBA_free (info_list);
CORBA_exception_free (&ev);