gnucash stable: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Wed Nov 19 23:46:14 EST 2025


Updated	 via  https://github.com/Gnucash/gnucash/commit/1debab5c (commit)
	 via  https://github.com/Gnucash/gnucash/commit/bacb5bde (commit)
	from  https://github.com/Gnucash/gnucash/commit/20575991 (commit)



commit 1debab5caee4aa044ceb9d75659111aee8b706c8
Author: John Ralls <jralls at ceridwen.us>
Date:   Wed Nov 19 20:39:12 2025 -0800

    About dialog: Use the environment variable names for user directory labels.
    
    Instead of capitalized versions of the variables in gnc-filepath-utils.
    The environment variables are documented in the wiki and are what the user
    can change.

diff --git a/libgnucash/core-utils/gnc-filepath-utils.cpp b/libgnucash/core-utils/gnc-filepath-utils.cpp
index ede4b9d3d1..7c62bf8c96 100644
--- a/libgnucash/core-utils/gnc-filepath-utils.cpp
+++ b/libgnucash/core-utils/gnc-filepath-utils.cpp
@@ -1313,8 +1313,8 @@ gnc_list_all_paths ()
         gnc_filepath_init ();
 
     return {
-        { "GNC_USERDATA_DIR", gnc_userdata_home_str.c_str(), true},
-        { "GNC_USERCONFIG_DIR", gnc_userconfig_home_str.c_str(), true },
+        { "GNC_DATA_HOME", gnc_userdata_home_str.c_str(), true},
+        { "GNC_CONFIG_HOME", gnc_userconfig_home_str.c_str(), true },
         { "GNC_BIN", g_getenv ("GNC_BIN"), false },
         { "GNC_LIB", g_getenv ("GNC_LIB"), false },
         { "GNC_CONF", g_getenv ("GNC_CONF"), false },

commit bacb5bde17c360b945c0a2459410a427868c9a9a
Author: John Ralls <jralls at ceridwen.us>
Date:   Wed Nov 19 20:36:12 2025 -0800

    Make the About dialog path labels (e.g. GNC_BIN) selectable for copying.

diff --git a/gnucash/gnome-utils/gnc-main-window.cpp b/gnucash/gnome-utils/gnc-main-window.cpp
index c487a25f85..9a81bfec9b 100644
--- a/gnucash/gnome-utils/gnc-main-window.cpp
+++ b/gnucash/gnome-utils/gnc-main-window.cpp
@@ -5295,6 +5295,7 @@ add_about_paths (GtkDialog *dialog)
     {
         gchar *env_name = g_strconcat (ep.env_name, ":", NULL);
         GtkWidget *label = gtk_label_new (env_name);
+        gtk_label_set_selectable (GTK_LABEL (label), TRUE);
         const gchar *uri = gnc_uri_create_uri ("file", NULL, 0, NULL, NULL, ep.env_path);
         gchar *display_uri = gnc_doclink_get_unescaped_just_uri (uri);
         GtkWidget *widget = gtk_link_button_new_with_label (uri, display_uri);



Summary of changes:
 gnucash/gnome-utils/gnc-main-window.cpp      | 1 +
 libgnucash/core-utils/gnc-filepath-utils.cpp | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)



More information about the gnucash-changes mailing list