Opened 15 years ago
Last modified 8 years ago
#6130 new defect
Cannot apply MenusPlugin properties to the TracTabPlugin
Reported by: | Ryan J Ollos | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | MenusPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
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).