Revision: 777 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=777&view=rev Author: ntrel Date: 2009-06-23 14:46:30 +0000 (Tue, 23 Jun 2009)
Log Message: ----------- Make Help script look in: $prefix/share/doc/geany-plugins/geanylua/ - but $prefix is currently Geany's install prefix, which works in most cases. Really this should be fixed by exposing GeanyLua's $DOCDIR to Lua scripts.
Modified Paths: -------------- trunk/geany-plugins/geanylua/ChangeLog trunk/geany-plugins/geanylua/examples/scripting/help.lua
Modified: trunk/geany-plugins/geanylua/ChangeLog =================================================================== --- trunk/geany-plugins/geanylua/ChangeLog 2009-06-23 12:34:24 UTC (rev 776) +++ trunk/geany-plugins/geanylua/ChangeLog 2009-06-23 14:46:30 UTC (rev 777) @@ -3,6 +3,10 @@ Read scripts from DATADIR/geany-plugins/geanylua. Init plugin_key_group fields to zero in case support library is not found. + Make Help script look in: + $prefix/share/doc/geany-plugins/geanylua/ - but $prefix is currently + Geany's install prefix, which works in most cases. Really this + should be fixed by exposing GeanyLua's $DOCDIR to Lua scripts.
June 19, 2009 (ntrel) Move to geany-plugins project, add i18n support.
Modified: trunk/geany-plugins/geanylua/examples/scripting/help.lua =================================================================== --- trunk/geany-plugins/geanylua/examples/scripting/help.lua 2009-06-23 12:34:24 UTC (rev 776) +++ trunk/geany-plugins/geanylua/examples/scripting/help.lua 2009-06-23 14:46:30 UTC (rev 777) @@ -9,8 +9,9 @@
local OwnHelpDir=AppInfo.scriptdir..DirSep.."support"
-local SysHelpDir=geany.dirname(AppInfo.docdir:gsub("html", "")) - ..DirSep.."plugins"..DirSep.."geanylua" +-- FIXME: expose GeanyLua's $DOCDIR to Lua scripts. +local DocDir=geany.dirname(AppInfo.docdir:gsub("html", ""):gsub("geany", "geany-plugins")) +local SysHelpDir=DocDir..DirSep.."geanylua"
local Browsers={ AppInfo.tools.browser, "firefox", "mozilla", "opera",
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org