mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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
1 changed files with 1 additions and 2 deletions
|
|
@ -434,8 +434,7 @@ const Key = GObject.registerClass({
|
|||
} else if (label) {
|
||||
button.set_label(label);
|
||||
} else if (commitString) {
|
||||
const str = GLib.markup_escape_text(commitString, -1);
|
||||
button.set_label(str);
|
||||
button.set_label(commitString);
|
||||
}
|
||||
|
||||
button.keyWidth = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue