Update of /cvsroot/audacity/audacity-src/src
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv31159

Modified Files:
        Project.cpp 
Log Message:
improvements for od: normalizing redraw time, fixing overall percentage 
displayed in status bar, and posting final import complete message.


Index: Project.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/Project.cpp,v
retrieving revision 1.456
retrieving revision 1.457
diff -u -d -r1.456 -r1.457
--- Project.cpp 30 Sep 2009 19:31:44 -0000      1.456
+++ Project.cpp 7 Oct 2009 23:31:41 -0000       1.457
@@ -1539,6 +1539,10 @@
 {
   if(mTrackPanel)
       mTrackPanel->Refresh(false);
+ 
+   wxString msg;
+   msg.Printf(_("on-demand import complete."));
+   mStatusBar->SetStatusText(msg);
 }
 
 void AudacityProject::OnScroll(wxScrollEvent & event)
@@ -3736,10 +3740,10 @@
          wxString msg;
          if(numTasks>1)
             msg.Printf(_("Import(s) complete. Running %d on-demand waveform 
calculations. Overall %2.0f%% complete."),
-              
numTasks,ODManager::Instance()->GetOverallPercentComplete()*100.0/numTasks);    
   
+              
numTasks,ODManager::Instance()->GetOverallPercentComplete()*100.0);       
          else
             msg.Printf(_("Import complete. Running an on-demand waveform 
calculation. %2.0f%% complete."),
-             
ODManager::Instance()->GetOverallPercentComplete()*100.0/numTasks);    
+             ODManager::Instance()->GetOverallPercentComplete()*100.0);    
          mStatusBar->SetStatusText(msg);
       }
    }


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to