Drop ui path specifier from resources paths

They were only there due to how the source directories
are organized and not really adding useful detail.
Removing it from the resource paths gives more freeedom
wrt to the organization of source files.
This commit is contained in:
Geert Janssens
2023-01-01 16:31:10 +01:00
parent a543143689
commit b3fa876da3
10 changed files with 11 additions and 10 deletions

View File

@@ -38,7 +38,8 @@ function(gnc_generate_gresources)
file(APPEND ${TMP_FILE} " <gresource prefix=\"/org/gnucash\">\n")
foreach(res_file ${GR_RESOURCE_FILES})
file(APPEND ${TMP_FILE} " <file>${res_file}</file>\n")
get_filename_component(res_file_short ${res_file} NAME)
file(APPEND ${TMP_FILE} " <file alias=\"${res_file_short}\">${res_file}</file>\n")
endforeach()
file(APPEND ${TMP_FILE} " </gresource>\n")
file(APPEND ${TMP_FILE} "</gresources>\n")