Browse window right-click options

Asked by Simon Kersey on 2009-11-30

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

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

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

http://groups.google.com/group/qbzr

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

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 :
#3

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 :
#4

Thanks Gary van der Merwe, that solved my question.