[Goodies-commits] r7675 - in xfce4-clipman-plugin/trunk: . panel-plugin

Mike Massonnet mmassonnet at xfce.org
Sat Jul 4 17:49:49 CEST 2009


Author: mmassonnet
Date: 2009-07-04 15:49:48 +0000 (Sat, 04 Jul 2009)
New Revision: 7675

Modified:
   xfce4-clipman-plugin/trunk/ChangeLog
   xfce4-clipman-plugin/trunk/panel-plugin/xfce4-clipman-settings.c
Log:
Use LC_MESSAGES to show the help in the user locale

Modified: xfce4-clipman-plugin/trunk/ChangeLog
===================================================================
--- xfce4-clipman-plugin/trunk/ChangeLog	2009-07-04 15:44:00 UTC (rev 7674)
+++ xfce4-clipman-plugin/trunk/ChangeLog	2009-07-04 15:49:48 UTC (rev 7675)
@@ -1,4 +1,10 @@
 2009-07-04	Mike Massonnet
+Use LC_MESSAGES to show the help in the user locale
+
+	- panel-plugin/xfce4-clipman-settings.c:
+		Use LC_MESSAGES as LC_ALL isn't always set (fix bug #5524).
+
+2009-07-04	Mike Massonnet
 Update documentation
 
 2009-07-04	Mike Massonnet

Modified: xfce4-clipman-plugin/trunk/panel-plugin/xfce4-clipman-settings.c
===================================================================
--- xfce4-clipman-plugin/trunk/panel-plugin/xfce4-clipman-settings.c	2009-07-04 15:44:00 UTC (rev 7674)
+++ xfce4-clipman-plugin/trunk/panel-plugin/xfce4-clipman-settings.c	2009-07-04 15:49:48 UTC (rev 7675)
@@ -155,7 +155,7 @@
   
 #ifdef ENABLE_NLS
 #ifdef HAVE_LOCALE_H
-  locale = g_strdup (setlocale (LC_ALL, ""));
+  locale = g_strdup (setlocale (LC_MESSAGES, ""));
   if (locale != NULL)
     {
       offset = g_strrstr (locale, ".");




More information about the Goodies-commits mailing list