Skip to content

Commit 1debab5

Browse files
committed
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.
1 parent bacb5bd commit 1debab5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libgnucash/core-utils/gnc-filepath-utils.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1313,8 +1313,8 @@ gnc_list_all_paths ()
13131313
gnc_filepath_init ();
13141314

13151315
return {
1316-
{ "GNC_USERDATA_DIR", gnc_userdata_home_str.c_str(), true},
1317-
{ "GNC_USERCONFIG_DIR", gnc_userconfig_home_str.c_str(), true },
1316+
{ "GNC_DATA_HOME", gnc_userdata_home_str.c_str(), true},
1317+
{ "GNC_CONFIG_HOME", gnc_userconfig_home_str.c_str(), true },
13181318
{ "GNC_BIN", g_getenv ("GNC_BIN"), false },
13191319
{ "GNC_LIB", g_getenv ("GNC_LIB"), false },
13201320
{ "GNC_CONF", g_getenv ("GNC_CONF"), false },

0 commit comments

Comments
 (0)