mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
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
1 changed files with 2 additions and 1 deletions
|
|
@ -969,7 +969,8 @@ class InputSourceIndicator extends PanelMenu.Button {
|
|||
}
|
||||
|
||||
let item;
|
||||
switch (prop.get_prop_type()) {
|
||||
let type = prop.get_prop_type();
|
||||
switch (type) {
|
||||
case IBus.PropType.MENU:
|
||||
item = new PopupMenu.PopupSubMenuMenuItem(prop.get_label().get_text());
|
||||
this._buildPropSubMenu(item.menu, prop.get_sub_props());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue