mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
keyboard: Drop dead code
This getGroups() method was not called anywhere for
a long time, the last user was dropped at commit
8fdf47ea5b ("keyboard: Do not create widgetry for
all keyboard groups at once").
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3162>
This commit is contained in:
parent
c6d2f7d6c4
commit
834be93666
1 changed files with 0 additions and 12 deletions
|
|
@ -2110,18 +2110,6 @@ class KeyboardController extends Signals.EventEmitter {
|
|||
this.emit('purpose-changed', purpose);
|
||||
}
|
||||
|
||||
getGroups() {
|
||||
let inputSources = this._inputSourceManager.inputSources;
|
||||
let groups = [];
|
||||
|
||||
for (let i in inputSources) {
|
||||
let is = inputSources[i];
|
||||
groups[is.index] = is.xkbId;
|
||||
}
|
||||
|
||||
return groups;
|
||||
}
|
||||
|
||||
getCurrentGroup() {
|
||||
// Special case for Korean, if Hangul mode is disabled, use the 'us' keymap
|
||||
if (this._currentSource.id === 'hangul') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue