mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +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
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue