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:
parent
ccc8d2ab42
commit
e25fdb6a79
|
@ -1570,24 +1570,17 @@ static uiBlock *wm_block_create_splash(bContext *C, ARegion *ar, void *UNUSED(ar
|
|||
uiItemL(col, IFACE_("Links"), ICON_NONE);
|
||||
uiItemStringO(col, IFACE_("Join the Development Fund"), ICON_URL, "WM_OT_url_open", "url",
|
||||
"https://www.blender.org/foundation/development-fund/");
|
||||
uiItemStringO(col, IFACE_("Donations"), ICON_URL, "WM_OT_url_open", "url",
|
||||
"http://www.blender.org/foundation/donation-payment/");
|
||||
uiItemStringO(col, IFACE_("Credits"), ICON_URL, "WM_OT_url_open", "url",
|
||||
"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_("Donate"), ICON_URL, "WM_OT_url_open", "url",
|
||||
"https://www.blender.org/foundation/donation-payment/");
|
||||
uiItemS(col);
|
||||
uiItemStringO(col, IFACE_("Manual"), ICON_URL, "WM_OT_url_open", "url",
|
||||
"https://docs.blender.org/manual/en/dev/");
|
||||
uiItemStringO(col, IFACE_("Blender Website"), ICON_URL, "WM_OT_url_open", "url", "http://www.blender.org");
|
||||
if (STREQ(STRINGIFY(BLENDER_VERSION_CYCLE), "release")) {
|
||||
BLI_snprintf(url, sizeof(url), "https://docs.blender.org/api/%d.%d"STRINGIFY(BLENDER_VERSION_CHAR),
|
||||
BLENDER_VERSION / 100, BLENDER_VERSION % 100);
|
||||
}
|
||||
else {
|
||||
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);
|
||||
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 Notes"), ICON_URL, "WM_OT_url_open", "url", url);
|
||||
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",
|
||||
"https://www.blender.org/about/credits/");
|
||||
uiItemL(col, "", ICON_NONE);
|
||||
|
||||
col = uiLayoutColumn(split, false);
|
||||
|
|
Loading…
Reference in New Issue