[geany/geany-plugins] be078c: geanyctags: Show help from the plugin manager
Jiří Techet
git-noreply at xxxxx
Thu Dec 11 20:59:10 UTC 2014
Branch: refs/heads/master
Author: Jiří Techet <techet at gmail.com>
Committer: Jiří Techet <techet at gmail.com>
Date: Thu, 11 Dec 2014 20:59:10 UTC
Commit: be078c2089661fbc090a40e77b93f15355a7db5d
https://github.com/geany/geany-plugins/commit/be078c2089661fbc090a40e77b93f15355a7db5d
Log Message:
-----------
geanyctags: Show help from the plugin manager
Modified Paths:
--------------
geanyctags/README
geanyctags/src/Makefile.am
geanyctags/src/geanyctags.c
geanyctags/wscript_build
Modified: geanyctags/README
5 lines changed, 3 insertions(+), 2 deletions(-)
===================================================================
@@ -109,8 +109,9 @@ Get the code from::
Ideas, questions, patches and bug reports
=========================================
-If you add something, or fix a bug, please send a patch (in 'diff -u'
-format) to the geany mailing list or to one of the authors listed bellow.
+Please direct all questions, bug reports and patches to the plugin author using the
+email address listed below or to the Geany mailing list to get some help from other
+Geany users.
2010-2014 by Jiří Techet
techet(at)gmail(dot)com
Modified: geanyctags/src/Makefile.am
4 lines changed, 4 insertions(+), 0 deletions(-)
===================================================================
@@ -7,6 +7,10 @@ geanyctags_la_SOURCES = \
readtags.h \
readtags.c
+geanyctags_la_CPPFLAGS = $(AM_CPPFLAGS) \
+ -DPLUGIN=\"$(plugin)\" \
+ -DG_LOG_DOMAIN=\"GeanyCtags\"
+geanyctags_la_CFLAGS = $(AM_CFLAGS)
geanyctags_la_LIBADD = $(COMMONLIBS)
include $(top_srcdir)/build/cppcheck.mk
Modified: geanyctags/src/geanyctags.c
4 lines changed, 4 insertions(+), 0 deletions(-)
===================================================================
@@ -110,6 +110,10 @@ PluginCallback plugin_callbacks[] = {
{NULL, NULL, FALSE, NULL}
};
+void plugin_help (void)
+{
+ utils_open_browser (DOCDIR "/" PLUGIN "/README");
+}
static void spawn_cmd(const gchar *cmd, const gchar *dir)
{
Modified: geanyctags/wscript_build
3 lines changed, 2 insertions(+), 1 deletions(-)
===================================================================
@@ -25,5 +25,6 @@ from build.wafutils import build_plugin
name = 'GeanyCtags'
includes = ['geanyctags/src']
+defines = ['PLUGIN="%s"' % name.lower()]
-build_plugin(bld, name, includes=includes)
+build_plugin(bld, name, includes=includes, defines=defines)
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Plugins-Commits
mailing list