diff options
author | Carl Hetherington <carl@carlh.net> | 2010-04-14 23:17:34 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-04-14 23:17:34 +0000 |
commit | 18f2af10ae766bc2e90cc6064728c4d3f77fc7f5 (patch) | |
tree | 2cdfc941c5af3100c5f27e2d7b48770aad7700c5 /gtk2_ardour/interthread_progress_window.cc | |
parent | 3d3e889dd61d8e513f78257ac770eabc8afe050c (diff) |
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
Diffstat (limited to 'gtk2_ardour/interthread_progress_window.cc')
-rw-r--r-- | gtk2_ardour/interthread_progress_window.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/interthread_progress_window.cc b/gtk2_ardour/interthread_progress_window.cc index 28308ee74f..5067b769c5 100644 --- a/gtk2_ardour/interthread_progress_window.cc +++ b/gtk2_ardour/interthread_progress_window.cc @@ -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; @@ -89,6 +90,8 @@ 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); } |