diff options
author | Robin Gareus <robin@gareus.org> | 2015-10-15 11:24:15 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-10-15 11:24:15 +0200 |
commit | 696b89b71a895dff732c734cdaa30a2e119292c8 (patch) | |
tree | 6251564deae520b45c88e9477dc659a7cb2f0c8c /gtk2_ardour/missing_file_dialog.cc | |
parent | 79142a262ec0a02f9a43a71dd226f78a1d7cbeed (diff) |
rework 8b80fe0, use std::string, not char*
Diffstat (limited to 'gtk2_ardour/missing_file_dialog.cc')
-rw-r--r-- | gtk2_ardour/missing_file_dialog.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/missing_file_dialog.cc b/gtk2_ardour/missing_file_dialog.cc index 9bbb564592..691dd29c61 100644 --- a/gtk2_ardour/missing_file_dialog.cc +++ b/gtk2_ardour/missing_file_dialog.cc @@ -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); |