Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Carlisle <Blendify>2020-03-05 03:40:05 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-03-05 03:45:22 +0300
commitae223ff52bed52811873c110ecf1045d2da35b9b (patch)
tree3e485e2b47dce27af9328d270d39580cf4f78a3d /release/scripts/startup
parent3da2dc82132f82356ffdfaf3e4c9bf3e643e8aaf (diff)
Addons: deprecate 'wiki_url'
When running with debug enabled ('-d' argument), warnings are printed for add-ons which are not yet updated. Reminder to name things based on what they do, not the technologies they use :)
Diffstat (limited to 'release/scripts/startup')
-rw-r--r--release/scripts/startup/bl_ui/space_userpref.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py
index 7e868b21e8a..c3c99ebb826 100644
--- a/release/scripts/startup/bl_ui/space_userpref.py
+++ b/release/scripts/startup/bl_ui/space_userpref.py
@@ -1873,16 +1873,16 @@ class USERPREF_PT_addons(AddOnPanel, 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(user_addon)
+ tot_row = bool(info["doc_url"]) + bool(user_addon)
if tot_row:
split = colsub.row().split(factor=0.15)
split.label(text="Internet:")
sub = split.row()
- if info["wiki_url"]:
+ if info["doc_url"]:
sub.operator(
"wm.url_open", text="Documentation", icon='HELP',
- ).url = info["wiki_url"]
+ ).url = info["doc_url"]
# Only add "Report a Bug" button if tracker_url is set
# or the add-on is bundled (use official tracker then).
if info.get("tracker_url"):