Comment 3 for bug 502891

Revision history for this message
Simon Kersey (simon-kersey) wrote :

I have merged the following patch with bzr-explorer 405 locally but have not pushed it to launchpad yet:

http://code.launchpad.net/~simon-kersey/bzr-explorer/update-tool-defs
This added:
(1) <tool … type=“bzrexec” /> - to specify a tool that should use qrun --execute
(2) <tool … applies=”toolbox menu wt_menu” /> - to specify to which GUI items a tool can be added
(3) <folder … add-to=”toolbox menu wt_menu”> - to specify to which GUI items a toolset should be added
(4) <folder … linked=”wt”> - to specify that the toolset was linked to the working tree (so would only be visible when it was visible)
(5) Validation of parsing so that elements without mandatory attributes were ignored with a mutter. NOTE Currently elements are created, and an invalid tools.xml will cause Explorer to exit at start-up.
(6) Default icon for ‘bzrexec’ tool type.

I am currently updating the following patch:

http://code.launchpad.net/~simon-kersey/bzr-explorer/add-tool-exec

This added:
(1) Functionality to hide toolsets on the tools menu and in the toolbox depending on whether the working tree is visible or not and the linked attribute is set to ”wt”
(2) Functionality to call qrun --execute if tool type=”bzrexec”
(3) Functionality to pass the selected items from the working tree to the tool command if tool action contains %(selected)s and tool belongs to a toolset that is linked to the working tree.

but the structure of this functionality in bzr-explorer has changed rather a lot...