Splash: sorting and cleanup
* http -> https * Release Logs -> Release Notes * Match number of items on both sides by adding a separator * Remove Python API Reference link since it's already under Help when Developer Extras is enabled.
This commit is contained in:
@@ -1570,24 +1570,17 @@ static uiBlock *wm_block_create_splash(bContext *C, ARegion *ar, void *UNUSED(ar
|
|||||||
uiItemL(col, IFACE_("Links"), ICON_NONE);
|
uiItemL(col, IFACE_("Links"), ICON_NONE);
|
||||||
uiItemStringO(col, IFACE_("Join the Development Fund"), ICON_URL, "WM_OT_url_open", "url",
|
uiItemStringO(col, IFACE_("Join the Development Fund"), ICON_URL, "WM_OT_url_open", "url",
|
||||||
"https://www.blender.org/foundation/development-fund/");
|
"https://www.blender.org/foundation/development-fund/");
|
||||||
uiItemStringO(col, IFACE_("Donations"), ICON_URL, "WM_OT_url_open", "url",
|
uiItemStringO(col, IFACE_("Donate"), ICON_URL, "WM_OT_url_open", "url",
|
||||||
"http://www.blender.org/foundation/donation-payment/");
|
"https://www.blender.org/foundation/donation-payment/");
|
||||||
uiItemStringO(col, IFACE_("Credits"), ICON_URL, "WM_OT_url_open", "url",
|
uiItemS(col);
|
||||||
"http://www.blender.org/about/credits/");
|
|
||||||
BLI_snprintf(url, sizeof(url), "https://wiki.blender.org/wiki/Reference/Release_Notes/%d.%d",
|
|
||||||
BLENDER_VERSION / 100, BLENDER_VERSION % 100);
|
|
||||||
uiItemStringO(col, IFACE_("Release Log"), ICON_URL, "WM_OT_url_open", "url", url);
|
|
||||||
uiItemStringO(col, IFACE_("Manual"), ICON_URL, "WM_OT_url_open", "url",
|
uiItemStringO(col, IFACE_("Manual"), ICON_URL, "WM_OT_url_open", "url",
|
||||||
"https://docs.blender.org/manual/en/dev/");
|
"https://docs.blender.org/manual/en/dev/");
|
||||||
uiItemStringO(col, IFACE_("Blender Website"), ICON_URL, "WM_OT_url_open", "url", "http://www.blender.org");
|
BLI_snprintf(url, sizeof(url), "https://wiki.blender.org/wiki/Reference/Release_Notes/%d.%d",
|
||||||
if (STREQ(STRINGIFY(BLENDER_VERSION_CYCLE), "release")) {
|
BLENDER_VERSION / 100, BLENDER_VERSION % 100);
|
||||||
BLI_snprintf(url, sizeof(url), "https://docs.blender.org/api/%d.%d"STRINGIFY(BLENDER_VERSION_CHAR),
|
uiItemStringO(col, IFACE_("Release Notes"), ICON_URL, "WM_OT_url_open", "url", url);
|
||||||
BLENDER_VERSION / 100, BLENDER_VERSION % 100);
|
uiItemStringO(col, IFACE_("Blender Website"), ICON_URL, "WM_OT_url_open", "url", "https://www.blender.org");
|
||||||
}
|
uiItemStringO(col, IFACE_("Credits"), ICON_URL, "WM_OT_url_open", "url",
|
||||||
else {
|
"https://www.blender.org/about/credits/");
|
||||||
BLI_snprintf(url, sizeof(url), "https://docs.blender.org/api/master");
|
|
||||||
}
|
|
||||||
uiItemStringO(col, IFACE_("Python API Reference"), ICON_URL, "WM_OT_url_open", "url", url);
|
|
||||||
uiItemL(col, "", ICON_NONE);
|
uiItemL(col, "", ICON_NONE);
|
||||||
|
|
||||||
col = uiLayoutColumn(split, false);
|
col = uiLayoutColumn(split, false);
|
||||||
|
|||||||
Reference in New Issue
Block a user