[gdm] Clarify some locale g_warnings and demote to g_debug



commit 8cd94f1fe8f6c33897220bb9fee766e5d169a4a6
Author: Ray Strode <rstrode redhat com>
Date:   Wed Sep 15 20:10:07 2010 -0400

    Clarify some locale g_warnings and demote to g_debug

 gui/simple-greeter/gdm-languages.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/gui/simple-greeter/gdm-languages.c b/gui/simple-greeter/gdm-languages.c
index 15485e9..74d032a 100644
--- a/gui/simple-greeter/gdm-languages.c
+++ b/gui/simple-greeter/gdm-languages.c
@@ -378,7 +378,7 @@ add_locale (const char *language_name,
         }
 
         if (!language_name_is_valid (name)) {
-                g_warning ("Your locale '%s' was failed by setlocale()", name);
+                g_debug ("Ignoring '%s' as a locale, since it's invalid", name);
                 g_free (name);
                 return FALSE;
         }
@@ -411,8 +411,7 @@ add_locale (const char *language_name,
             !language_name_has_translations (locale->id) &&
             !language_name_has_translations (locale->language_code) &&
             utf8_only) {
-                g_warning ("Your locale '%s' doesn't have message catalog files",
-                           language_name);
+                g_debug ("Ignoring '%s' as a locale, since it lacks translations", locale->name);
                 gdm_locale_free (locale);
                 return FALSE;
         }



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