Relocate resource to /org/gnucash/GnuCash prefix

This is done to be consistent with the GSettings
prefix (which is also a GLib subsystem).

In the process replace the magic string with
a single, globally defined macro.
This commit is contained in:
Geert Janssens
2023-01-01 17:23:12 +01:00
parent b3fa876da3
commit 470afc918f
8 changed files with 14 additions and 9 deletions

View File

@@ -35,7 +35,7 @@ function(gnc_generate_gresources)
file(WRITE ${TMP_FILE} "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n")
file(APPEND ${TMP_FILE} "<gresources>\n")
file(APPEND ${TMP_FILE} " <gresource prefix=\"/org/gnucash\">\n")
file(APPEND ${TMP_FILE} " <gresource prefix=\"${GNUCASH_RESOURCE_PREFIX}\">\n")
foreach(res_file ${GR_RESOURCE_FILES})
get_filename_component(res_file_short ${res_file} NAME)