KeyboardStatus: fix showing current layout
Util.spawn accepts an array of strings as the arguments, and will not implicitly convert other types. https://bugzilla.gnome.org/show_bug.cgi?id=643104
This commit is contained in:
parent
12d991f336
commit
06198702c2
@ -71,7 +71,7 @@ XKBIndicator.prototype = {
|
||||
|
||||
this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
|
||||
this.menu.addAction(_("Show Keyboard Layout..."), Lang.bind(this, function() {
|
||||
Util.spawn(['gkbd-keyboard-display', '-g', this._config.get_current_group() + 1]);
|
||||
Util.spawn(['gkbd-keyboard-display', '-g', String(this._config.get_current_group() + 1)]);
|
||||
}));
|
||||
this.menu.addAction(_("Localization Settings"), function() {
|
||||
Util.spawn(['gnome-control-center', 'region']);
|
||||
|
Loading…
Reference in New Issue
Block a user