Skip to content
Permalink
Browse files

Port to 2.78 - 0.7.0 changes - Properties - Addons - Remove the addon…

  • Loading branch information...
ReinerBforartists committed Feb 2, 2017
1 parent dd2126d commit 738a8d1318b45ce22f8bd3616a63071d1735ff04
Showing with 0 additions and 27 deletions.
  1. +0 −27 release/scripts/startup/bl_ui/space_userpref.py
@@ -63,7 +63,6 @@ def draw(self, context):
elif userpref.active_section == 'ADDONS':
layout.operator("wm.addon_install", icon='FILESEL')
layout.operator("wm.addon_refresh", icon='FILE_REFRESH')
layout.menu("USERPREF_MT_addons_online_resources")
elif userpref.active_section == 'THEMES':
#layout.operator("ui.reset_default_theme") # bfa - obsolete, themes are now in the themes dropdown box.
layout.operator("wm.theme_install")
@@ -1232,32 +1231,6 @@ def draw(self, context):
#print("runtime", time.time() - start)


class USERPREF_MT_addons_online_resources(Menu):
bl_label = "Online Resources"

# menu to open web-pages with addons development guides
def draw(self, context):
layout = self.layout

layout.operator(
"wm.url_open", text="Add-ons Catalog", icon='URL',
).url = "http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts"

layout.separator()

layout.operator(
"wm.url_open", text="How to share your add-on", icon='URL',
).url = "http://wiki.blender.org/index.php/Dev:Py/Sharing"
layout.operator(
"wm.url_open", text="Add-on Guidelines", icon='URL',
).url = "http://wiki.blender.org/index.php/Dev:2.5/Py/Scripts/Guidelines/Addons"
layout.operator(
"wm.url_open", text="API Concepts", icon='URL',
).url = bpy.types.WM_OT_doc_view._prefix + "/info_quickstart.html"
layout.operator("wm.url_open", text="Add-on Tutorial", icon='URL',
).url = "http://www.blender.org/api/blender_python_api_current/info_tutorial_addon.html"


class USERPREF_PT_addons(Panel):
bl_space_type = 'USER_PREFERENCES'
bl_label = "Add-ons"

0 comments on commit 738a8d1

Please sign in to comment.
You can’t perform that action at this time.