SF.net SVN: geany-plugins:[1699] trunk/geany-plugins/webhelper/src/ gwh-plugin.c

colombanw at users.sourceforge.net colombanw at xxxxx
Mon Nov 1 15:18:52 UTC 2010


Revision: 1699
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1699&view=rev
Author:   colombanw
Date:     2010-11-01 15:18:52 +0000 (Mon, 01 Nov 2010)

Log Message:
-----------
WebHelper: Fix config file name and location

Don't use PACKAGE_* since the plugin is now in the geany-plugin
package; and the the name is wrong.

Modified Paths:
--------------
    trunk/geany-plugins/webhelper/src/gwh-plugin.c

Modified: trunk/geany-plugins/webhelper/src/gwh-plugin.c
===================================================================
--- trunk/geany-plugins/webhelper/src/gwh-plugin.c	2010-11-01 15:06:12 UTC (rev 1698)
+++ trunk/geany-plugins/webhelper/src/gwh-plugin.c	2010-11-01 15:18:52 UTC (rev 1699)
@@ -31,6 +31,10 @@
 #include "gwh-settings.h"
 
 
+#define PLUGIN_NAME     "Web Helper"
+#define PLUGIN_TARNAME  "web-helper"
+
+
 GeanyPlugin      *geany_plugin;
 GeanyData        *geany_data;
 GeanyFunctions   *geany_functions;
@@ -104,7 +108,7 @@
 get_config_filename (void)
 {
   return g_build_filename (geany_data->app->configdir, "plugins",
-                           PACKAGE_TARNAME, PACKAGE_TARNAME".conf", NULL);
+                           PLUGIN_TARNAME, PLUGIN_TARNAME".conf", NULL);
 }
 
 static void


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