Browse window right-click options

Asked by Simon Kersey

Is it possible to configure the Browse window tree-widget right-click options in a similar fashion to the Bzr Explorer tools menu?
Or should I register a specialised version of the qbrowse command in a plugin to override the one qbzr provides?

[As an exercise in learning about Bazaar and Python I am writing a plugin to support Reserved Edit functionality. Ideally I would like to be able to invoke my plugin's Bzr commands from the Browse right click menu for selected files.]

Question information

English Edit question
QBzr Edit question
No assignee Edit question
Solved by:
Gary van der Merwe
Last query:
Last reply:
Revision history for this message
Alexander Belchenko (bialix) said :

Can you elaborate on this in our discussion group? What you mean by "configure right-click similar to Bzr Explorer"?

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

I have attempted to open a new topic in the discussion group. Hopefully that's OK.

There isn't too much to elaborate really though - basically in Bzr Explorer you can add commands to the Tools menu by editing .../Bazaar/2.0/explorer/tools.xml and I just wondered whether there was a similar .xml file that could be used to add options to the right click menu on the Browse window.

Revision history for this message
Best Gary van der Merwe (garyvdm) said :

Not currently. I would be happy to add such functionality. I would prefer for your plugin to have to add it via code, rather than a xml file.

Out of intrest, command/plugin is this for?

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

Thanks Gary van der Merwe, that solved my question.