Permalink
Browse files

commander: Add help handler to open README

  • Loading branch information...
1 parent cb1f5ac commit bc46d4a4bec48eb81e404bb2d372b6e55b91a17b @b4n b4n committed Aug 4, 2012
Showing with 7 additions and 0 deletions.
  1. +1 −0 commander/src/Makefile.am
  2. +6 −0 commander/src/commander-plugin.c
@@ -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)
@@ -661,3 +661,9 @@ plugin_cleanup (void)
gtk_tree_path_free (plugin_data.last_path);
}
}
+
+void
+plugin_help (void)
+{
+ utils_open_browser (DOCDIR "/" PLUGIN "/README");
+}

0 comments on commit bc46d4a

Please sign in to comment.