13
0

Display details of which import file we are currently on.

git-svn-id: svn://localhost/ardour2/branches/3.0@6895 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2010-04-14 23:17:34 +00:00
parent 3d3e889dd6
commit 18f2af10ae

View File

@ -21,6 +21,7 @@
#include <gtkmm/stock.h>
#include "ardour/import_status.h"
#include "interthread_progress_window.h"
#include "i18n.h"
using namespace std;
using namespace Gtk;
@ -90,5 +91,7 @@ ImportProgressWindow::update ()
/* use overall progress for the bar, rather than that for individual files */
_bar.set_fraction ((_import_status->current - 1 + _import_status->progress) / _import_status->total);
_bar.set_text (string_compose (_("Importing file: %1 of %2"), _import_status->current, _import_status->total));
return !(_import_status->done || _import_status->cancel);
}