diff options
author | Not Zed <NotZed@Ximian.com> | 2004-04-30 14:20:24 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-04-30 14:20:24 +0800 |
commit | be08a4a3eceeb5d31d1aa7cab70a755f1fe9d688 (patch) | |
tree | 161b27f6e99af5d25c17da02b235c1a758fec8fc /shell/e-component-registry.c | |
parent | 2828781d0d377824000442624971ae15855b9f8f (diff) | |
download | gsoc2013-evolution-be08a4a3eceeb5d31d1aa7cab70a755f1fe9d688.tar.gz gsoc2013-evolution-be08a4a3eceeb5d31d1aa7cab70a755f1fe9d688.tar.zst gsoc2013-evolution-be08a4a3eceeb5d31d1aa7cab70a755f1fe9d688.zip |
do the same as below.
2004-04-30 Not Zed <NotZed@Ximian.com>
* e-component-registry.c (query_components): do the same as below.
* e-shell-settings-dialog.c (load_pages): use
gnome_i18n_get_language_list instead of e_get_language_list(), and
use the right locale option. Fixes #53398.
svn path=/trunk/; revision=25700
Diffstat (limited to 'shell/e-component-registry.c')
-rw-r--r-- | shell/e-component-registry.c | 6 |
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); |