status/keyboard: Use '+' to separate variant when launching tecla

The code was not changed when switching from gkbd-keyboard-display which
was using tab to separate layout and variant. Tecla uses '+' instead.

This fix was suggested by Neil Mayhew.

Fixes: 04aaa4b67 ("keyboard: Spawn "tecla" to show keyboard map")
Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7638
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3324>
(cherry picked from commit 658beda9a9)
This commit is contained in:
Sebastian Keller 2024-05-19 20:24:54 +02:00 committed by Florian Müllner
parent 65f7dcbdba
commit 20623458ae
No known key found for this signature in database

View file

@ -1129,7 +1129,7 @@ class InputSourceIndicator extends PanelMenu.Button {
let description = xkbLayout;
if (xkbVariant.length > 0)
description = `${description}\t${xkbVariant}`;
description = `${description}+${xkbVariant}`;
Util.spawn(['tecla', description]);
}