SOURCES: audacity-wx28.patch - fixed "/usr/bin/Portable Settings/"...
sls
sls at pld-linux.org
Tue Jan 2 04:52:40 CET 2007
Author: sls Date: Tue Jan 2 03:52:40 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fixed "/usr/bin/Portable Settings/" issue (yes, it is wx28 related)
---- Files affected:
SOURCES:
audacity-wx28.patch (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SOURCES/audacity-wx28.patch
diff -u SOURCES/audacity-wx28.patch:1.1 SOURCES/audacity-wx28.patch:1.2
--- SOURCES/audacity-wx28.patch:1.1 Mon Dec 25 16:27:56 2006
+++ SOURCES/audacity-wx28.patch Tue Jan 2 04:52:34 2007
@@ -287,3 +287,16 @@
if (def && def->IsEnabled()) {
wxCommandEvent cevent(wxEVT_COMMAND_BUTTON_CLICKED,
def->GetId());
+--- audacity-src-1.3.2-beta/src/FileNames.cpp 2006/10/01 07:23:49 1.9
++++ audacity-src-1.3.2-beta/src/FileNames.cpp 2006/11/19 02:20:14 1.10
+@@ -72,8 +72,8 @@
+ // If there is a directory "Portable Settings" relative to the
+ // executable's EXE file, the prefs are stored in there, otherwise
+ // the prefs are stored in the user data dir provided by the OS.
+- wxFileName exePath(PlatformCompatibility::GetExecutablePath());
+- wxFileName portablePrefsPath(exePath.GetPath(), wxT("Portable Settings"));
++ wxFileName portablePrefsPath(PlatformCompatibility::GetExecutablePath());
++ portablePrefsPath.AppendDir(wxT("Portable Settings"));
+
+ if (portablePrefsPath.DirExists())
+ {
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/audacity-wx28.patch?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list