Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Vazquez <venomgfx@gmail.com>2018-08-14 12:59:48 +0300
committerPablo Vazquez <venomgfx@gmail.com>2018-08-14 12:59:48 +0300
commite25fdb6a795db3d3f6af864496af723599abdd34 (patch)
treee95c7cd819a8fe61d355e591d584527a9dc05646 /source/blender/windowmanager/intern/wm_operators.c
parentccc8d2ab42751b44eb54640842630354ff3902f9 (diff)
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.
Diffstat (limited to 'source/blender/windowmanager/intern/wm_operators.c')
-rw-r--r--source/blender/windowmanager/intern/wm_operators.c25
1 files changed, 9 insertions, 16 deletions
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c
index c1efce45e03..299624bc50b 100644
--- a/source/blender/windowmanager/intern/wm_operators.c
+++ b/source/blender/windowmanager/intern/wm_operators.c
@@ -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);