set_session (s);
add_button (_("Done"), RESPONSE_OK);
+ set_default_response (RESPONSE_OK);
string typestr;
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<i>%3</i>\n\nin any of these folders:\n\n\
-<tt>%4</tt>\n\n"), PROGRAM_NAME, typestr, path, dirstr));
+<tt>%4</tt>\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);