[gnome-control-center] region: Use region names on the region tab
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] region: Use region names on the region tab
- Date: Mon, 22 Aug 2011 18:31:12 +0000 (UTC)
commit d22307b699433b91634a544e1eda23dc19df00e6
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Aug 20 22:21:28 2011 -0400
region: Use region names on the region tab
Use the just introduced api to show region names in the list.
panels/region/gnome-region-panel-formats.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/region/gnome-region-panel-formats.c b/panels/region/gnome-region-panel-formats.c
index ebf56ff..1eb6724 100644
--- a/panels/region/gnome-region-panel-formats.c
+++ b/panels/region/gnome-region-panel-formats.c
@@ -234,7 +234,7 @@ setup_formats (GtkBuilder *builder)
langs = gdm_get_all_language_names ();
for (i = 0; langs[i] != NULL; i++) {
- language = gdm_get_language_from_name (langs[i], NULL);
+ language = gdm_get_region_from_name (langs[i], NULL);
gtk_list_store_append (GTK_LIST_STORE (model), &iter);
gtk_list_store_set (GTK_LIST_STORE (model), &iter, 0, langs[i], 1, language, -1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]