SF.net SVN: geany-plugins:[401] trunk/geanydoc/src/geanydoc.c
yurand at users.sourceforge.net
yurand at xxxxx
Fri Jan 23 12:59:06 UTC 2009
Revision: 401
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=401&view=rev
Author: yurand
Date: 2009-01-23 12:59:06 +0000 (Fri, 23 Jan 2009)
Log Message:
-----------
GeanyDoc: Added locale_init() function call
Modified Paths:
--------------
trunk/geanydoc/src/geanydoc.c
Modified: trunk/geanydoc/src/geanydoc.c
===================================================================
--- trunk/geanydoc/src/geanydoc.c 2009-01-23 00:41:26 UTC (rev 400)
+++ trunk/geanydoc/src/geanydoc.c 2009-01-23 12:59:06 UTC (rev 401)
@@ -41,6 +41,10 @@
#include "plugindata.h" /* this defines the plugin API */
#include "pluginmacros.h" /* some useful macros to avoid typing geany_data so often */
+#ifdef HAVE_LOCALE_H
+# include <locale.h>
+#endif
+
#include "geanydoc.h"
/* These items are set by Geany before init() is called. */
@@ -52,9 +56,9 @@
static GtkWidget *keyb2;
-/* Check that Geany supports plugin API version 71 or later, and check
+/* Check that Geany supports plugin API version 128 or later, and check
* for binary compatibility. */
-PLUGIN_VERSION_CHECK(78)
+PLUGIN_VERSION_CHECK(128)
/* All plugins must set name, description, version and author. */
PLUGIN_SET_INFO(_("Doc"), _("Call documentation viewer on current symbol."), VERSION,
_("Yura Siamshka <yurand2 at gmail.com>"));
@@ -445,6 +449,7 @@
gchar *kb_label1 = _("Document current word");
gchar *kb_label2 = _("Document interactive");
+ p_main->locale_init(LOCALEDIR, GETTEXT_PACKAGE);
config_init();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Plugins-Commits
mailing list