diff options
author | Robin Gareus <robin@gareus.org> | 2012-11-19 16:18:03 +0000 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2012-11-19 16:18:03 +0000 |
commit | 0e2396cd785efbcbb5597791e0b9f9aaa9e7a088 (patch) | |
tree | 9228ed3346f05d38f9134e4fb84b9cbf0b9e2965 /gtk2_ardour/mixer_strip.cc | |
parent | b73d9b585fe5e0771eb9dbf18fa4fc46f09c1e4c (diff) |
markup-escape track/playlist titles in tooltips.
git-svn-id: svn://localhost/ardour2/branches/3.0@13530 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/mixer_strip.cc')
-rw-r--r-- | gtk2_ardour/mixer_strip.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc index 398edf1997..643b18af3d 100644 --- a/gtk2_ardour/mixer_strip.cc +++ b/gtk2_ardour/mixer_strip.cc @@ -1069,10 +1069,10 @@ MixerStrip::update_io_button (boost::shared_ptr<ARDOUR::Route> route, Width widt if (for_input) { io_count = route->n_inputs().n_total(); - tooltip << string_compose (_("<b>INPUT</b> to %1"), route->name()); + tooltip << string_compose (_("<b>INPUT</b> to %1"), Glib::Markup::escape_text(route->name())); } else { io_count = route->n_outputs().n_total(); - tooltip << string_compose (_("<b>OUTPUT</b> from %1"), route->name()); + tooltip << string_compose (_("<b>OUTPUT</b> from %1"), Glib::Markup::escape_text(route->name())); } @@ -1092,9 +1092,9 @@ MixerStrip::update_io_button (boost::shared_ptr<ARDOUR::Route> route, Width widt string& connection_name (*i); if (io_connection_count == 0) { - tooltip << endl << port->name().substr(port->name().find("/") + 1) << " -> " << connection_name; + tooltip << endl << Glib::Markup::escape_text(port->name().substr(port->name().find("/") + 1)) << " -> " << Glib::Markup::escape_text(connection_name); } else { - tooltip << ", " << connection_name; + tooltip << ", " << Glib::Markup::escape_text(connection_name); } if (connection_name.find("ardour:") == 0) { |