[geany/geany-plugins] bc46d4: commander: Add help handler to open README

Colomban Wendling git-noreply at xxxxx
Sat Aug 4 15:08:40 UTC 2012


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Sat, 04 Aug 2012 15:08:40
Commit:      bc46d4a4bec48eb81e404bb2d372b6e55b91a17b
             https://github.com/geany/geany-plugins/commit/bc46d4a4bec48eb81e404bb2d372b6e55b91a17b

Log Message:
-----------
commander: Add help handler to open README


Modified Paths:
--------------
    commander/src/Makefile.am
    commander/src/commander-plugin.c

Modified: commander/src/Makefile.am
1 files changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -6,6 +6,7 @@ geanyplugins_LTLIBRARIES = commander.la
 
 commander_la_SOURCES  = commander-plugin.c
 commander_la_CPPFLAGS = $(AM_CPPFLAGS) \
+                        -DPLUGIN=\"$(plugin)\" \
                         -DG_LOG_DOMAIN=\"Commander\"
 commander_la_CFLAGS   = $(AM_CFLAGS) \
                         $(COMMANDER_CFLAGS)


Modified: commander/src/commander-plugin.c
6 files changed, 6 insertions(+), 0 deletions(-)
===================================================================
@@ -661,3 +661,9 @@ enum {
     gtk_tree_path_free (plugin_data.last_path);
   }
 }
+
+void
+plugin_help (void)
+{
+  utils_open_browser (DOCDIR "/" PLUGIN "/README");
+}


@@ Diff output truncated at 100000 characters. @@


--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).



More information about the Plugins-Commits mailing list