keyboard: Avoid markup escaping when setting button labels
These are no longer interpreted as Pango markup. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3149>
This commit is contained in:
parent
92bea8a73e
commit
1940573bef
@ -434,8 +434,7 @@ const Key = GObject.registerClass({
|
|||||||
} else if (label) {
|
} else if (label) {
|
||||||
button.set_label(label);
|
button.set_label(label);
|
||||||
} else if (commitString) {
|
} else if (commitString) {
|
||||||
const str = GLib.markup_escape_text(commitString, -1);
|
button.set_label(commitString);
|
||||||
button.set_label(str);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
button.keyWidth = 1;
|
button.keyWidth = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user