Fix release notes link in splash.
Auto-generate this link from Blender version, as done for e.g.py API link. This commit should be backported to 2.71 branch.
This commit is contained in:
parent
a5a869c579
commit
d1b45f7f7c
|
@ -1892,8 +1892,9 @@ static uiBlock *wm_block_create_splash(bContext *C, ARegion *ar, void *UNUSED(ar
|
|||
"http://www.blender.org/foundation/donation-payment/");
|
||||
uiItemStringO(col, IFACE_("Credits"), ICON_URL, "WM_OT_url_open", "url",
|
||||
"http://www.blender.org/about/credits/");
|
||||
uiItemStringO(col, IFACE_("Release Log"), ICON_URL, "WM_OT_url_open", "url",
|
||||
"http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.70");
|
||||
BLI_snprintf(url, sizeof(url), "http://wiki.blender.org/index.php/Dev:Ref/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",
|
||||
"http://wiki.blender.org/index.php/Doc:2.6/Manual");
|
||||
uiItemStringO(col, IFACE_("Blender Website"), ICON_URL, "WM_OT_url_open", "url", "http://www.blender.org");
|
||||
|
|
Loading…
Reference in New Issue