summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-03-04 22:16:48 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2013-03-04 22:16:48 +0000
commitd40c2f9d7c391213eabaa96701f91315624d689d (patch)
treeb1055c551d65225e97dec510378bfbade8d93ae1 /gtk2_ardour
parent91ff55bd89d44bf6d9ec222ac531f71f5700a91b (diff)
use markup in that new dialog
git-svn-id: svn://localhost/ardour2/branches/3.0@14139 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/ardour_ui.cc15
1 files changed, 11 insertions, 4 deletions
diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc
index 2b981ace8e..e740f875ee 100644
--- a/gtk2_ardour/ardour_ui.cc
+++ b/gtk2_ardour/ardour_ui.cc
@@ -3727,10 +3727,17 @@ ARDOUR_UI::midi_panic ()
void
ARDOUR_UI::session_format_mismatch (std::string xml_path, std::string backup_path)
{
- MessageDialog msg (string_compose (_("This is a session from an older version of Ardour.\n\n"
- "Ardour has copied the old session file\n\n%1\n\nto\n\n%2\n\n"
- "Use %2 with older versions of %3 from now on"),
- xml_path, backup_path, PROGRAM_NAME));
+ const char* start_big = "<span size=\"x-large\" weight=\"bold\">";
+ const char* end_big = "</span>";
+ const char* start_mono = "<tt>";
+ const char* end_mono = "</tt>";
+
+ MessageDialog msg (string_compose (_("%4This is a session from an older version of Ardour%5\n\n"
+ "Ardour has copied the old session file\n\n%6%1%7\n\nto\n\n%6%2%7\n\n"
+ "From now on, use the -2000 version with older versions of %3"),
+ xml_path, backup_path, PROGRAM_NAME,
+ start_big, end_big,
+ start_mono, end_mono), true);
msg.run ();
}