r18845 - gnucash/trunk/src - Adapt cutecash to r18842.

Christian Stimming cstim at code.gnucash.org
Fri Mar 5 15:32:13 EST 2010


Author: cstim
Date: 2010-03-05 15:32:13 -0500 (Fri, 05 Mar 2010)
New Revision: 18845
Trac: http://svn.gnucash.org/trac/changeset/18845

Modified:
   gnucash/trunk/src/core-utils/CMakeLists.txt
   gnucash/trunk/src/gnc/mainwindow.cpp
Log:
Adapt cutecash to r18842.

Modified: gnucash/trunk/src/core-utils/CMakeLists.txt
===================================================================
--- gnucash/trunk/src/core-utils/CMakeLists.txt	2010-03-05 20:31:51 UTC (rev 18844)
+++ gnucash/trunk/src/core-utils/CMakeLists.txt	2010-03-05 20:32:13 UTC (rev 18845)
@@ -26,6 +26,7 @@
   gnc-glib-utils.c
   gnc-main.c
   gnc-path.c
+  gnc-uri-utils.c
   ${SWIG_CORE_UTILS_C}
 )
 
@@ -52,6 +53,7 @@
   gnc-glib-utils.h
   gnc-main.h
   gnc-path.h
+  gnc-uri-utils.h
 )
 
 ADD_LIBRARY	(core-utils

Modified: gnucash/trunk/src/gnc/mainwindow.cpp
===================================================================
--- gnucash/trunk/src/gnc/mainwindow.cpp	2010-03-05 20:31:51 UTC (rev 18844)
+++ gnucash/trunk/src/gnc/mainwindow.cpp	2010-03-05 20:32:13 UTC (rev 18845)
@@ -36,7 +36,7 @@
 {
 #include "qof.h"
 #include "engine/gnc-hooks.h"
-#include "core-utils/gnc-filepath-utils.h"
+#include "core-utils/gnc-uri-utils.h"
 #include "engine/Account.h"
 #include "engine/TransLog.h"
 }
@@ -408,7 +408,7 @@
 
     if (!we_are_in_error)
     {
-        char * logpath = xaccResolveFilePath(newfile);
+        char * logpath = gnc_uri_get_path(newfile);
         PINFO ("logpath=%s", logpath ? logpath : "(null)");
         xaccLogSetBaseName (logpath);
         xaccLogDisable();



More information about the gnucash-changes mailing list