rework 8b80fe0, use std::string, not char*

This commit is contained in:
Robin Gareus 2015-10-15 11:24:15 +02:00
parent 79142a262e
commit 696b89b71a
13 changed files with 40 additions and 32 deletions

View file

@ -22,6 +22,7 @@
#include "pbd/search_path.h"
#include "ardour/session.h"
#include "gtkmm2ext/utils.h"
#include "missing_file_dialog.h"
#include "i18n.h"
@ -68,7 +69,7 @@ MissingFileDialog::MissingFileDialog (Session* s, const std::string& path, DataT
msg.set_justify (JUSTIFY_LEFT);
msg.set_markup (string_compose (_("%1 cannot find the %2 file\n\n<i>%3</i>\n\nin any of these folders:\n\n\
<tt>%4</tt>\n\n"), PROGRAM_NAME, typestr, Glib::Markup::escape_text(path).c_str(), Glib::Markup::escape_text (oss.str().c_str())));
<tt>%4</tt>\n\n"), PROGRAM_NAME, typestr, Gtkmm2ext::markup_escape_text (path), Gtkmm2ext::markup_escape_text (oss.str())));
HBox* hbox = manage (new HBox);
hbox->pack_start (msg, false, true);