Blame SOURCES/evolution-3.28.5-help-contents-link.patch

214acd
From fe293e9f75ef3a7fec90e9b11f9c5935ae98445c Mon Sep 17 00:00:00 2001
214acd
From: Milan Crha <mcrha@redhat.com>
214acd
Date: Mon, 17 Sep 2018 22:46:40 +0200
214acd
Subject: [PATCH] I#129 - Use unversioned URL to help.gnome.org
214acd
214acd
Closes https://gitlab.gnome.org/GNOME/evolution/issues/129
214acd
---
214acd
 src/e-util/e-misc-utils.c | 5 +++--
214acd
 1 file changed, 3 insertions(+), 2 deletions(-)
214acd
214acd
diff --git a/src/e-util/e-misc-utils.c b/src/e-util/e-misc-utils.c
214acd
index c6f4e105b3..3801337fc2 100644
214acd
--- a/src/e-util/e-misc-utils.c
214acd
+++ b/src/e-util/e-misc-utils.c
214acd
@@ -319,7 +319,9 @@ e_display_help (GtkWindow *parent,
214acd
 		uri = g_string_new ("help:" PACKAGE);
214acd
 	} else {
214acd
 		uri = g_string_new ("https://help.gnome.org/users/" PACKAGE "/");
214acd
-		g_string_append_printf (uri, "%d.%d", EDS_MAJOR_VERSION, EDS_MINOR_VERSION);
214acd
+		/*  Use '/stable/' until https://bugzilla.gnome.org/show_bug.cgi?id=785522 is fixed */
214acd
+		g_string_append (uri, "stable/");
214acd
+		/* g_string_append_printf (uri, "%d.%d", EDS_MAJOR_VERSION, EDS_MINOR_VERSION); */
214acd
 	}
214acd
 
214acd
 	timestamp = gtk_get_current_event_time ();
214acd
@@ -327,7 +329,6 @@ e_display_help (GtkWindow *parent,
214acd
 	if (parent != NULL)
214acd
 		screen = gtk_widget_get_screen (GTK_WIDGET (parent));
214acd
 
214acd
-
214acd
 	if (link_id != NULL) {
214acd
 		g_string_append (uri, "/");
214acd
 		g_string_append (uri, link_id);
214acd
-- 
214acd
2.21.0
214acd