* 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:
@@ -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]))
|
||||
|
||||
Reference in New Issue
Block a user