[gnome-control-center] region: Always add English to the list, as it should always be available



commit 95d9cffaaa94acdab81ac9498202117e907e7a21
Author: Rodrigo Moya <rodrigo gnome-db org>
Date:   Tue Oct 11 16:18:09 2011 +0200

    region: Always add English to the list, as it should always be available

 panels/common/cc-common-language.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/panels/common/cc-common-language.c b/panels/common/cc-common-language.c
index d2cff06..0518f3a 100644
--- a/panels/common/cc-common-language.c
+++ b/panels/common/cc-common-language.c
@@ -510,8 +510,7 @@ cc_common_language_get_initial_languages (void)
         ht = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free);
 
         /* Add some common languages first */
-        if (gdm_language_has_translations ("en_US"))
-                g_hash_table_insert (ht, g_strdup ("en_US.utf8"), g_strdup (_("English")));
+        g_hash_table_insert (ht, g_strdup ("en_US.utf8"), g_strdup (_("English")));
         if (gdm_language_has_translations ("en_GB"))
                 g_hash_table_insert (ht, g_strdup ("en_GB.utf8"), g_strdup (_("British English")));
         if (gdm_language_has_translations ("de_DE"))



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]