Update of /cvsroot/audacity/audacity-src/src/export
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv26359
Modified Files:
Export.cpp ExportMP3.cpp
Log Message:
Standardize on the generic file dialog under GTK.
Index: Export.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/export/Export.cpp,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- Export.cpp 8 Apr 2007 09:11:14 -0000 1.47
+++ Export.cpp 10 Apr 2007 02:21:35 -0000 1.48
@@ -385,7 +385,7 @@
fd.SetFilterIndex(mFormat);
- fd.EnableButton(_("&Options..."), ExportCallback, this);
+ fd.EnableButton(_("Options..."), ExportCallback, this);
if (fd.ShowModal() == wxID_CANCEL) {
return false;
Index: ExportMP3.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/export/ExportMP3.cpp,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- ExportMP3.cpp 6 Apr 2007 10:24:04 -0000 1.53
+++ ExportMP3.cpp 10 Apr 2007 02:21:35 -0000 1.54
@@ -93,6 +93,8 @@
#include "../WaveTrack.h"
#include "../widgets/LinkingHtmlWindow.h"
+#include "FileDialog.h"
+
#include "ExportMP3.h"
#ifdef __WXMAC__
@@ -738,13 +740,13 @@
"Where would I find the file %s" instead if you want. */
question.Printf(_("Where is %s?"), mName.c_str());
- wxString path = wxFileSelector(question,
- mLibPath.GetPath(),
- mLibPath.GetName(),
- wxT(""),
- mType,
- wxOPEN,
- this);
+ wxString path = FileSelector(question,
+ mLibPath.GetPath(),
+ mLibPath.GetName(),
+ wxT(""),
+ mType,
+ wxOPEN,
+ this);
if (!path.IsEmpty()) {
mLibPath = path;
mPathText->SetValue(path);
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs