Hi Jaap,

2009/4/12 Jaap Karssenberg <jaap.karssenb...@gmail.com>:
> Look to me the code is good. Did you check how the config file looks ? Might
> be something like the config file actually contains an empty string for this
> setting and blocks the default from being used.

excellent advice to check the config!! New to plugin programming for
zim, and I haven't looked at the config before.
Reason for failure was that I had first copied and modified
DiagramEditor.*, but not actually changed the $dot variables and the
applications assigned because I wanted to check that zim actually
found my plugin. Turned out that dot=dot %2 -Tpng %1 was still
registered under [TimingEditor Plugin] in the
~/.config/zim/default.conf file. When I changed that to the drawtiming
setting I wanted to use, the plugin works as expected.

Thanks a lot


Mailing list: https://launchpad.net/~zim-wiki
Post to     : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp

Reply via email to