[Goodies-commits] r7220 - in xfce4-clipman-plugin/trunk: . panel-plugin
Mike Massonnet
mmassonnet at xfce.org
Thu Apr 16 23:55:24 CEST 2009
Author: mmassonnet
Date: 2009-04-16 21:55:24 +0000 (Thu, 16 Apr 2009)
New Revision: 7220
Modified:
xfce4-clipman-plugin/trunk/ChangeLog
xfce4-clipman-plugin/trunk/panel-plugin/main.c
Log:
Init the locale one stage earlier
Modified: xfce4-clipman-plugin/trunk/ChangeLog
===================================================================
--- xfce4-clipman-plugin/trunk/ChangeLog 2009-04-16 15:39:15 UTC (rev 7219)
+++ xfce4-clipman-plugin/trunk/ChangeLog 2009-04-16 21:55:24 UTC (rev 7220)
@@ -1,4 +1,12 @@
2009-04-16 Mike Massonnet
+Init the locale one stage earlier
+
+ - panel-plugin/main.c:
+ Call xfce_textdomain() in the preinit callback otherwise the
+ error message wouldn't be localisated.
+
+
+2009-04-16 Mike Massonnet
Prepare for release
2009-04-15 Mike Massonnet
Modified: xfce4-clipman-plugin/trunk/panel-plugin/main.c
===================================================================
--- xfce4-clipman-plugin/trunk/panel-plugin/main.c 2009-04-16 15:39:15 UTC (rev 7219)
+++ xfce4-clipman-plugin/trunk/panel-plugin/main.c 2009-04-16 21:55:24 UTC (rev 7220)
@@ -180,6 +180,9 @@
{
MyPlugin *plugin;
+ /* Text Domain and Locale */
+ xfce_textdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR, "UTF-8");
+
if (argc == 1)
{
/* Consider the plugin to be run by command line */
@@ -217,9 +220,6 @@
plugin->panel_plugin = NULL;
plugin->status_icon = NULL;
- /* Text Domain and Locale */
- xfce_textdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR, "UTF-8");
-
/* Xfconf */
xfconf_init (NULL);
plugin->channel = xfconf_channel_new_with_property_base ("xfce4-panel", "/plugins/clipman");
More information about the Goodies-commits
mailing list