Update of /cvsroot/audacity/audacity-src/src/effects
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv2350/effects
Modified Files:
Effect.cpp
Log Message:
Fix display of effect title in progress dialogs when access keys are used
Index: Effect.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/effects/Effect.cpp,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- Effect.cpp 9 Apr 2007 05:11:05 -0000 1.42
+++ Effect.cpp 15 Apr 2007 21:43:53 -0000 1.43
@@ -161,7 +161,8 @@
bool returnVal = true;
bool skipFlag = CheckWhetherSkipEffect();
if (skipFlag == false) {
- GetActiveProject()->ProgressShow(GetEffectName(), GetEffectAction());
+ GetActiveProject()->ProgressShow(StripAmpersand(GetEffectName()),
+ GetEffectAction());
returnVal = Process();
GetActiveProject()->ProgressHide();
}
@@ -298,7 +299,8 @@
// Effect is already inited; we call Process, End, and then Init
// again, so the state is exactly the way it was before Preview
// was called.
- GetActiveProject()->ProgressShow(GetEffectName(), _("Preparing preview"));
+ GetActiveProject()->ProgressShow(StripAmpersand(GetEffectName()),
+ _("Preparing preview"));
Process();
GetActiveProject()->ProgressHide();
End();
@@ -323,7 +325,8 @@
if (token) {
bool previewing = true;
- GetActiveProject()->ProgressShow(GetEffectName(), _("Previewing"));
+ GetActiveProject()->ProgressShow(StripAmpersand(GetEffectName()),
+ _("Previewing"));
while (gAudioIO->IsStreamActive(token) && previewing) {
::wxMilliSleep(100);
-------------------------------------------------------------------------
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