[gnome-control-center] common: Add some more debug when listing languages



commit ea686a23552f91919e9a0892015f20edc2262113
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Aug 16 18:06:30 2011 +0100

    common: Add some more debug when listing languages

 panels/common/gdm-languages.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/panels/common/gdm-languages.c b/panels/common/gdm-languages.c
index 69cb302..a26e0f6 100644
--- a/panels/common/gdm-languages.c
+++ b/panels/common/gdm-languages.c
@@ -403,6 +403,7 @@ add_locale (const char *language_name,
 #ifdef WITH_INCOMPLETE_LOCALES
         if (utf8_only) {
                 if (locale->territory_code == NULL || locale->modifier) {
+                        g_debug ("Ignoring '%s' as a locale, since it lacks territory code or modifier", name);
                         gdm_locale_free (locale);
                         return FALSE;
                 }



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