UI: Splash Screen Import Changes
Removal of "What's New" button, addition of a section divider, and many very small changes to the text, some reordering of items. Pull Request: https://projects.blender.org/blender/blender/pulls/118224
This commit is contained in:
parent
c3088d6558
commit
d2d810f11a
@ -3228,7 +3228,7 @@ class WM_MT_splash_quick_setup(Menu):
|
||||
can_import = bpy.types.PREFERENCES_OT_copy_prev.poll(context) and old_version
|
||||
|
||||
if can_import:
|
||||
layout.label(text="Import Existing Settings")
|
||||
layout.label(text="Import Preferences From Previous Version")
|
||||
split = layout.split(factor=0.20) # Left margin.
|
||||
split.label()
|
||||
|
||||
@ -3236,17 +3236,15 @@ class WM_MT_splash_quick_setup(Menu):
|
||||
col = split.column()
|
||||
col.operator(
|
||||
"preferences.copy_prev",
|
||||
text=iface_("Load Blender %d.%d Settings", "Operator") % old_version,
|
||||
icon='DUPLICATE',
|
||||
text=iface_("Import Blender %d.%d Preferences", "Operator") % old_version,
|
||||
icon='NONE',
|
||||
translate=False,
|
||||
)
|
||||
col.operator(
|
||||
"wm.url_open", text="See What's New...", icon='URL',
|
||||
).url = "https://developer.blender.org/docs/release_notes/%d.%d" % bpy.app.version[:2]
|
||||
col.separator(factor=2.0)
|
||||
layout.separator()
|
||||
layout.separator(type='LINE')
|
||||
|
||||
if can_import:
|
||||
layout.label(text="Create New Settings")
|
||||
layout.label(text="Create New Preferences")
|
||||
else:
|
||||
layout.label(text="Quick Setup")
|
||||
|
||||
@ -3261,14 +3259,22 @@ class WM_MT_splash_quick_setup(Menu):
|
||||
if bpy.app.build_options.international:
|
||||
prefs = context.preferences
|
||||
col.prop(prefs.view, "language")
|
||||
col.separator()
|
||||
|
||||
# Themes.
|
||||
sub = col.column(heading="Theme")
|
||||
label = bpy.types.USERPREF_MT_interface_theme_presets.bl_label
|
||||
if label == "Presets":
|
||||
label = "Blender Dark"
|
||||
sub.menu("USERPREF_MT_interface_theme_presets", text=label)
|
||||
|
||||
col.separator()
|
||||
|
||||
# Shortcuts.
|
||||
wm = context.window_manager
|
||||
kc = wm.keyconfigs.active
|
||||
kc_prefs = kc.preferences
|
||||
|
||||
sub = col.column(heading="Shortcuts")
|
||||
sub = col.column(heading="Keymap")
|
||||
text = bpy.path.display_name(kc.name)
|
||||
if not text:
|
||||
text = "Blender"
|
||||
@ -3276,25 +3282,19 @@ class WM_MT_splash_quick_setup(Menu):
|
||||
|
||||
has_select_mouse = hasattr(kc_prefs, "select_mouse")
|
||||
if has_select_mouse:
|
||||
col.row().prop(kc_prefs, "select_mouse", text="Select With", expand=True)
|
||||
col.row().prop(kc_prefs, "select_mouse", text="Mouse Select", expand=True)
|
||||
|
||||
has_spacebar_action = hasattr(kc_prefs, "spacebar_action")
|
||||
if has_spacebar_action:
|
||||
col.row().prop(kc_prefs, "spacebar_action", text="Spacebar")
|
||||
col.row().prop(kc_prefs, "spacebar_action", text="Spacebar Action")
|
||||
|
||||
# Themes.
|
||||
col.separator()
|
||||
sub = col.column(heading="Theme")
|
||||
label = bpy.types.USERPREF_MT_interface_theme_presets.bl_label
|
||||
if label == "Presets":
|
||||
label = "Blender Dark"
|
||||
sub.menu("USERPREF_MT_interface_theme_presets", text=label)
|
||||
sub = col.column()
|
||||
sub.separator(factor=2)
|
||||
|
||||
if can_import:
|
||||
sub.label()
|
||||
sub.operator("wm.save_userpref", text="Save New Settings", icon='CHECKMARK')
|
||||
sub.operator("wm.save_userpref", text="Save New Preferences", icon='NONE')
|
||||
else:
|
||||
sub.label()
|
||||
sub.operator("wm.save_userpref", text="Continue")
|
||||
|
||||
layout.separator(factor=2.0)
|
||||
|
Loading…
Reference in New Issue
Block a user