From baa482588049a1eab581f48578bb46e11f06dece Mon Sep 17 00:00:00 2001 From: Jehan Date: Wed, 1 Oct 2025 14:40:18 +0200 Subject: [PATCH] =?UTF-8?q?app:=20use=20the=20new=20release/=20alias=20URL?= =?UTF-8?q?s=20for=20the=20"Learn=20more"=20link=20of=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit … Release Notes tab. --- app/dialogs/welcome-dialog.c | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/app/dialogs/welcome-dialog.c b/app/dialogs/welcome-dialog.c index 5890f7b5b8..cc24e15d50 100644 --- a/app/dialogs/welcome-dialog.c +++ b/app/dialogs/welcome-dialog.c @@ -1125,10 +1125,19 @@ welcome_dialog_create_release_page (Gimp *gimp, tmp = g_strdup_printf (GIMP_VERSION); if (GIMP_MINOR_VERSION % 2 == 0 && ! strstr (tmp, "RC")) - release_link = g_strdup_printf ("https://www.gimp.org/release-notes/gimp-%d.%d.html", - GIMP_MAJOR_VERSION, GIMP_MINOR_VERSION); + { + if (GIMP_MICRO_VERSION == 0 && ! strstr (tmp, "RC")) + release_link = g_strdup_printf ("https://www.gimp.org/release-notes/gimp-%d.%d.html", + GIMP_MAJOR_VERSION, GIMP_MINOR_VERSION); + else + release_link = g_strdup_printf ("https://www.gimp.org/release/%d.%d.%d/", + GIMP_MAJOR_VERSION, GIMP_MINOR_VERSION, + GIMP_MICRO_VERSION); + } else - release_link = g_strdup ("https://www.gimp.org/"); + { + release_link = g_strdup ("https://www.gimp.org/"); + } g_free (tmp); widget = gtk_link_button_new_with_label (release_link, _("Learn more"));