Update of /cvsroot/audacity/audacity-src/src/toolbars
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv19087/src/toolbars
Modified Files:
ToolManager.cpp
Log Message:
- Fix for '..' warning at startup.
Index: ToolManager.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/toolbars/ToolManager.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- ToolManager.cpp 18 May 2007 02:59:07 -0000 1.15
+++ ToolManager.cpp 2 Jul 2007 16:10:31 -0000 1.16
@@ -609,7 +609,10 @@
}
// Change back to the bar root
- gPrefs->SetPath( wxT("..") );
+ //gPrefs->SetPath( wxT("..") ); <-- Causes a warning...
+ // May or may not have gone into a subdirectory,
+ // so use an absolute path.
+ gPrefs->SetPath( wxT("/GUI/ToolBars") );
}
// Add all toolbars to their target dock
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs