From ed364e4e416f1a0c0d2d4070797ef96165f7f151 Mon Sep 17 00:00:00 2001 From: sunflowerskater Date: Wed, 11 Jan 2023 22:38:07 -0300 Subject: [PATCH] keyboard: Add "Keyboard Settings" menu entry The keyboard popover doesn't have a shortcut to open the Keyboard panel from the Settings app. This commit adds this menu entry to improve usability. Part-of: --- js/ui/status/keyboard.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/ui/status/keyboard.js b/js/ui/status/keyboard.js index b47375d64..fff4e73c2 100644 --- a/js/ui/status/keyboard.js +++ b/js/ui/status/keyboard.js @@ -857,6 +857,8 @@ class InputSourceIndicator extends PanelMenu.Button { this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem()); this._showLayoutItem = this.menu.addAction(_("Show Keyboard Layout"), this._showLayout.bind(this)); + this.menu.addSettingsAction(_('Keyboard Settings'), + 'gnome-keyboard-panel.desktop'); Main.sessionMode.connect('updated', this._sessionUpdated.bind(this)); this._sessionUpdated();