summaryrefslogtreecommitdiff
path: root/libs/gtkmm2ext/gtk_ui.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-12-02 01:58:32 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-12-02 01:58:32 +0000
commit6a61ddb3af8225608c7615d199a54b3ad22f784b (patch)
treef412dd478281fe04e8db204366c16b5f060e3169 /libs/gtkmm2ext/gtk_ui.cc
parent8e046a112724671c78bb59377286d0c9ec275a28 (diff)
fix message about markup elements by changing accel strings from <Mod> to Mod-
git-svn-id: svn://localhost/ardour2/branches/3.0@10854 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/gtkmm2ext/gtk_ui.cc')
-rw-r--r--libs/gtkmm2ext/gtk_ui.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/gtkmm2ext/gtk_ui.cc b/libs/gtkmm2ext/gtk_ui.cc
index 9679113b47..7508b7e57f 100644
--- a/libs/gtkmm2ext/gtk_ui.cc
+++ b/libs/gtkmm2ext/gtk_ui.cc
@@ -31,7 +31,7 @@
#include <pbd/touchable.h>
#include <pbd/failed_constructor.h>
#include <pbd/pthread_utils.h>
-#include <pbd/stacktrace.h>
+#include <pbd/replace_all.h>
#include <gtkmm2ext/application.h>
#include <gtkmm2ext/gtk_ui.h>
@@ -361,6 +361,9 @@ UI::set_tip (Widget *w, const gchar *tip, const gchar *hlp)
return;
}
+ replace_all (msg, "<", "");
+ replace_all (msg, ">", "-");
+
req->widget = w;
req->msg = msg.c_str();
req->msg2 = hlp;