X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fmissing_file_dialog.cc;h=c7cb7f5edccf8a08902bde16c6b0a7f9d54de28c;hb=74126c48c0726e5491a160d2b0f04e406fc80231;hp=9d5712ee6134aae54855d601a61b4283e128b6c9;hpb=ed626628b54e67dd9621c08d82a42afaed00c7ac;p=ardour.git
diff --git a/gtk2_ardour/missing_file_dialog.cc b/gtk2_ardour/missing_file_dialog.cc
index 9d5712ee61..c7cb7f5edc 100644
--- a/gtk2_ardour/missing_file_dialog.cc
+++ b/gtk2_ardour/missing_file_dialog.cc
@@ -43,6 +43,7 @@ MissingFileDialog::MissingFileDialog (Session* s, const std::string& path, DataT
set_session (s);
add_button (_("Done"), RESPONSE_OK);
+ set_default_response (RESPONSE_OK);
string typestr;
@@ -58,12 +59,11 @@ MissingFileDialog::MissingFileDialog (Session* s, const std::string& path, DataT
string dirstr;
dirstr = s->source_search_path (type);
- cerr << "Search path = " << dirstr << endl;
replace_all (dirstr, ":", "\n");
msg.set_justify (JUSTIFY_CENTER);
msg.set_markup (string_compose (_("%1 cannot find the %2 file\n\n%3\n\nin any of these folders:\n\n\
-%4\n\n"), PROGRAM_NAME, typestr, path, dirstr));
+%4\n\n"), PROGRAM_NAME, typestr, Glib::Markup::escape_text(path), Glib::Markup::escape_text (dirstr)));
HBox* hbox = manage (new HBox);
hbox->pack_start (msg, false, true);