gnucash maint: Bug 798312 - Opening the help for dialogues in the wrong language.

John Ralls jralls at code.gnucash.org
Fri Sep 17 17:44:14 EDT 2021


Updated	 via  https://github.com/Gnucash/gnucash/commit/9fb9868b (commit)
	from  https://github.com/Gnucash/gnucash/commit/37196fa0 (commit)



commit 9fb9868b548844d474d4834d45f1408c9576ac27
Author: John Ralls <jralls at ceridwen.us>
Date:   Fri Sep 17 14:43:59 2021 -0700

    Bug 798312 - Opening the help for dialogues in the wrong language.

diff --git a/gnucash/gnome-utils/gnc-gnome-utils.c b/gnucash/gnome-utils/gnc-gnome-utils.c
index aaefcf567..6a44d38cf 100644
--- a/gnucash/gnome-utils/gnc-gnome-utils.c
+++ b/gnucash/gnome-utils/gnc-gnome-utils.c
@@ -267,7 +267,10 @@ gnc_gnome_help_yelp_anchor_fix (GtkWindow *parent, const char *file_name, const
     {
         gchar *filename = g_build_filename (help_path, *langs, help_file, NULL);
         if (g_file_test (filename, G_FILE_TEST_EXISTS))
+        {
             full_path = g_strdup (filename);
+            break;
+        }
         g_free (filename);
     }
     g_free (help_path);



Summary of changes:
 gnucash/gnome-utils/gnc-gnome-utils.c | 3 +++
 1 file changed, 3 insertions(+)



More information about the gnucash-changes mailing list