Opened 7 years ago

#6130 new defect

Cannot apply MenusPlugin properties to the TracTabPlugin

Reported by: rjollos Owned by: cbalan
Priority: normal Component: MenusPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


As I noted briefly in Ticket #6129, it does not seem to work to apply MenusPlugin properties to a button created with the TracTabPlugin. This also seems to be true for buttons created by other plugins, such as the DownloadsPlugin and HudsonTracPlugin.

There is a workaround. Suppose I create an entry with the TracTabPlugin called svn. I set its parent to none and then create a new button that points to the handler created by the TracTabPlugin.

svn.parent = none
svnx.label = SVN
svnx.enabled = 1
svnx.href = /tractab/svn
svnx.order = 303
svnx.parent = repositorygroup
svnx.perm = BROWSER_VIEW

However, it would be nice if either the MenusPlugin or TracTabPlugin could be modified so that the workaround was not necessary. I'm hoping there is something that can be done to the MenusPlugin to improve this behavior since I have seen the behavior with several plugin (as noted above).

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

as new The owner will remain cbalan.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.