r14784 - gnucash/trunk/src - Fully specify the correct subdirectory for windows; the prefix will be determined at runtime

Christian Stimming cstim at cvs.gnucash.org
Sat Sep 2 11:44:47 EDT 2006


Author: cstim
Date: 2006-09-02 11:44:45 -0400 (Sat, 02 Sep 2006)
New Revision: 14784
Trac: http://svn.gnucash.org/trac/changeset/14784

Modified:
   gnucash/trunk/src/gnome-utils/dialog-utils.c
   gnucash/trunk/src/gnome/druid-hierarchy.c
Log:
Fully specify the correct subdirectory for windows; the prefix will be determined at runtime

Modified: gnucash/trunk/src/gnome/druid-hierarchy.c
===================================================================
--- gnucash/trunk/src/gnome/druid-hierarchy.c	2006-09-02 08:52:32 UTC (rev 14783)
+++ gnucash/trunk/src/gnome/druid-hierarchy.c	2006-09-02 15:44:45 UTC (rev 14784)
@@ -370,7 +370,7 @@
 #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

Modified: gnucash/trunk/src/gnome-utils/dialog-utils.c
===================================================================
--- gnucash/trunk/src/gnome-utils/dialog-utils.c	2006-09-02 08:52:32 UTC (rev 14783)
+++ gnucash/trunk/src/gnome-utils/dialog-utils.c	2006-09-02 15:44:45 UTC (rev 14784)
@@ -823,7 +823,7 @@
 
 #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



More information about the gnucash-changes mailing list