mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
rework 8b80fe0, use std::string, not char*
This commit is contained in:
parent
79142a262e
commit
696b89b71a
13 changed files with 40 additions and 32 deletions
|
|
@ -19,6 +19,7 @@
|
|||
|
||||
#include <glibmm/main.h>
|
||||
#include <gtkmm/stock.h>
|
||||
#include "gtkmm2ext/utils.h"
|
||||
#include "ardour/import_status.h"
|
||||
#include "interthread_progress_window.h"
|
||||
#include "i18n.h"
|
||||
|
|
@ -87,8 +88,7 @@ bool
|
|||
ImportProgressWindow::update ()
|
||||
{
|
||||
_cancel_button.set_sensitive (!_import_status->freeze);
|
||||
std::string op = Glib::Markup::escape_text(_import_status->doing_what);
|
||||
_label.set_markup ("<i>" + op + "</i>");
|
||||
_label.set_markup ("<i>" + Gtkmm2ext::markup_escape_text (_import_status->doing_what) + "</i>");
|
||||
|
||||
/* 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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue