expand bbox for Canvas::Line to get rid of artifacts caused when moving them around...
[ardour.git] / gtk2_ardour / missing_file_dialog.cc
index 9d5712ee6134aae54855d601a61b4283e128b6c9..c7cb7f5edccf8a08902bde16c6b0a7f9d54de28c 100644 (file)
@@ -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<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);