* src/const.py.in: Remove report and tool categories.

* src/Plugins.py: Switch report and tool category constants.
* src/PluginMgr.py: Switch report and tool category constants.
* src/Report.py, src/Tool.py: Move constants.
* src/plugins/ChangeNames.py, src/plugins/ChangeTypes.py,
src/plugins/Checkpoint.py: switch category constants.


svn: r5245
This commit is contained in:
Alex Roitman
2005-09-27 05:10:54 +00:00
parent 3ba7eed3e9
commit 1e67047f6c
7 changed files with 33 additions and 22 deletions

View File

@@ -428,7 +428,7 @@ def build_tools_menu(top_menu,callback):
hash_data = {}
for tool in PluginMgr.tool_list:
tool_category = const.tool_categories[tool[3]]
tool_category = Tool.tool_categories[tool[3]]
if hash_data.has_key(tool_category):
hash_data[tool_category].append(
(tool[0],tool[1],tool[2],tool[4],tool[3]))