summaryrefslogtreecommitdiff
path: root/src/utilities/trigger.vala
diff options
context:
space:
mode:
authorAlessandro Ghedini <al3xbio@gmail.com>2012-01-27 21:34:49 +0100
committerAlessandro Ghedini <al3xbio@gmail.com>2012-01-27 21:34:49 +0100
commit2f94591b0eca0f910484a8073403cf71f274d974 (patch)
tree1eb06c396330950fdfd95fc3358e2e3055fd1e10 /src/utilities/trigger.vala
parentd67c54cea574bf6bb014d3e2412bd64c7ced2073 (diff)
parenta824c3e5bdab686901b02667609282e7d596a6af (diff)
Merge commit 'upstream/0.4.2'
Diffstat (limited to 'src/utilities/trigger.vala')
-rw-r--r--src/utilities/trigger.vala6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/utilities/trigger.vala b/src/utilities/trigger.vala
index 4b6167b..854cbb4 100644
--- a/src/utilities/trigger.vala
+++ b/src/utilities/trigger.vala
@@ -182,11 +182,7 @@ public class Trigger : GLib.Object {
this.label = Gtk.accelerator_get_label(keysym, this.modifiers);
}
- this.label = this.label.replace("<", "&lt;");
- this.label = this.label.replace(">", "&gt;");
- this.label = this.label.replace("&", "&amp;");
-
- this.label_with_specials = this.label;
+ this.label_with_specials = GLib.Markup.escape_text(this.label);
if (this.turbo && this.delayed && this.centered)
this.label_with_specials += (" <small><span weight='light'>[ " + _("Turbo") + " | " + _("Delayed") + " | " + _("Centered") + " ]</span></small>");