From 18f2af10ae766bc2e90cc6064728c4d3f77fc7f5 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 14 Apr 2010 23:17:34 +0000 Subject: 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 --- gtk2_ardour/interthread_progress_window.cc | 3 +++ 1 file changed, 3 insertions(+) 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 #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); } -- cgit v1.2.3