mirror of
https://github.com/blender/blender-addons-contrib.git
synced 2025-07-23 00:49:46 +00:00
UI: Move Extensions repositories popover to header
Improve discoverability of the repositories settings by moving them from the dropdown menu into the header. Inspired by !27 Pull Request: https://projects.blender.org/blender/blender-addons-contrib/pulls/30
This commit is contained in:

committed by
Pablo Vazquez

parent
16908cc466
commit
c97c1c847c
@ -617,10 +617,6 @@ class USERPREF_MT_extensions_bl_pkg_settings(Menu):
|
||||
|
||||
addon_prefs = context.preferences.addons[__package__].preferences
|
||||
|
||||
layout.popover("USERPREF_PT_extensions_repos", text="Repositories")
|
||||
|
||||
layout.separator()
|
||||
|
||||
layout.operator("bl_pkg.repo_sync_all", text="Check for Updates", icon='FILE_REFRESH')
|
||||
|
||||
layout.separator()
|
||||
@ -678,6 +674,9 @@ def extensions_panel_draw(panel, context):
|
||||
row_b.prop(wm, "extension_type", text="")
|
||||
row_b.popover("USERPREF_PT_extensions_bl_pkg_filter", text="", icon='FILTER')
|
||||
|
||||
row_b.separator()
|
||||
row_b.popover("USERPREF_PT_extensions_repos", text="Repositories")
|
||||
|
||||
row_b.separator()
|
||||
row_b.menu("USERPREF_MT_extensions_bl_pkg_settings", text="", icon='DOWNARROW_HLT')
|
||||
del row, row_a, row_b
|
||||
|
Reference in New Issue
Block a user