From f546c7a8893b8a673c37805413869b130337cd2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brecht=20Van=20L=C3=B6mmel?= Date: Sat, 16 Nov 2013 03:08:51 +0100 Subject: [PATCH] Addons: remove tracker URL from addon template, as this is no longer used, and link to the new Addons bug reporting page. --- release/scripts/modules/addon_utils.py | 1 - release/scripts/startup/bl_ui/space_userpref.py | 6 +++--- release/scripts/templates_py/addon_add_object.py | 1 - 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/release/scripts/modules/addon_utils.py b/release/scripts/modules/addon_utils.py index 2d0c917ffa0..6f08f70458b 100644 --- a/release/scripts/modules/addon_utils.py +++ b/release/scripts/modules/addon_utils.py @@ -408,7 +408,6 @@ def module_bl_info(mod, info_basis={"name": "", "location": "", "description": "", "wiki_url": "", - "tracker_url": "", "support": 'COMMUNITY', "category": "", "warning": "", diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py index 697c070ffad..e21656c3259 100644 --- a/release/scripts/startup/bl_ui/space_userpref.py +++ b/release/scripts/startup/bl_ui/space_userpref.py @@ -1255,15 +1255,15 @@ class USERPREF_PT_addons(Panel): split.label(text=' ' + info["warning"], icon='ERROR') user_addon = USERPREF_PT_addons.is_user_addon(mod, user_addon_paths) - tot_row = bool(info["wiki_url"]) + bool(info["tracker_url"]) + bool(user_addon) + tot_row = bool(info["wiki_url"]) + bool(user_addon) if tot_row: split = colsub.row().split(percentage=0.15) split.label(text="Internet:") if info["wiki_url"]: split.operator("wm.url_open", text="Documentation", icon='HELP').url = info["wiki_url"] - if info["tracker_url"]: - split.operator("wm.url_open", text="Report a Bug", icon='URL').url = info["tracker_url"] + tracker_url = "http://developer.blender.org/maniphest/task/create/?project=3&type=Bug" + split.operator("wm.url_open", text="Report a Bug", icon='URL').url = tracker_url if user_addon: split.operator("wm.addon_remove", text="Remove", icon='CANCEL').module = mod.__name__ diff --git a/release/scripts/templates_py/addon_add_object.py b/release/scripts/templates_py/addon_add_object.py index 66da6a969c7..f0d8bede6d5 100644 --- a/release/scripts/templates_py/addon_add_object.py +++ b/release/scripts/templates_py/addon_add_object.py @@ -7,7 +7,6 @@ bl_info = { "description": "Adds a new Mesh Object", "warning": "", "wiki_url": "", - "tracker_url": "", "category": "Add Mesh"}