diff options
author | Alessandro Ghedini <al3xbio@gmail.com> | 2012-01-27 21:34:48 +0100 |
---|---|---|
committer | Alessandro Ghedini <al3xbio@gmail.com> | 2012-01-27 21:34:48 +0100 |
commit | a824c3e5bdab686901b02667609282e7d596a6af (patch) | |
tree | de05c11d82468977683d65b39952f5e3ab3e2841 /src/utilities | |
parent | 21c8b0c749be00fff27e41e4c2d677dd7d320fa0 (diff) |
Imported Upstream version 0.4.2upstream/0.4.2
Diffstat (limited to 'src/utilities')
-rw-r--r-- | src/utilities/trigger.vala | 6 |
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("<", "<"); - this.label = this.label.replace(">", ">"); - this.label = this.label.replace("&", "&"); - - 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>"); |