keyboard: Fix undefined variable in fall-through message
Spotted by eslint. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/375
This commit is contained in:
parent
3134222d27
commit
4f76e05058
@ -969,7 +969,8 @@ class InputSourceIndicator extends PanelMenu.Button {
|
|||||||
}
|
}
|
||||||
|
|
||||||
let item;
|
let item;
|
||||||
switch (prop.get_prop_type()) {
|
let type = prop.get_prop_type();
|
||||||
|
switch (type) {
|
||||||
case IBus.PropType.MENU:
|
case IBus.PropType.MENU:
|
||||||
item = new PopupMenu.PopupSubMenuMenuItem(prop.get_label().get_text());
|
item = new PopupMenu.PopupSubMenuMenuItem(prop.get_label().get_text());
|
||||||
this._buildPropSubMenu(item.menu, prop.get_sub_props());
|
this._buildPropSubMenu(item.menu, prop.get_sub_props());
|
||||||
|
Loading…
Reference in New Issue
Block a user