mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fully specify the correct subdirectory for windows; the prefix will be determined at runtime
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14784 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
59ab015dee
commit
ff27834d6d
@ -823,7 +823,7 @@ gnc_glade_xml_new (const char *filename, const char *root)
|
||||
|
||||
#ifdef G_OS_WIN32
|
||||
gnc_glade_dir = g_win32_get_package_installation_subdirectory
|
||||
(GETTEXT_PACKAGE, NULL, "glade");
|
||||
(GETTEXT_PACKAGE, NULL, "share\\gnucash\\glade");
|
||||
#else
|
||||
gnc_glade_dir = g_strdup (GNC_GLADE_DIR);
|
||||
#endif
|
||||
|
@ -370,7 +370,7 @@ account_categories_tree_view_prepare (hierarchy_data *data)
|
||||
#ifdef G_OS_WIN32
|
||||
gnc_accounts_dir =
|
||||
g_win32_get_package_installation_subdirectory
|
||||
(GETTEXT_PACKAGE, NULL, "accounts");
|
||||
(GETTEXT_PACKAGE, NULL, "share\\gnucash\\accounts");
|
||||
#else
|
||||
gnc_accounts_dir = g_strdup (GNC_ACCOUNTS_DIR);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user