summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2018-02-11 16:15:14 +0100
committerCarlos Garnacho <carlosg@gnome.org>2018-02-12 17:00:51 +0100
commite859fc8f161e208b607486131466bb7172d0e6bf (patch)
treee3c0f2cae985d093df15460215083a85b63ac76b
parent2f9b0f8820090761f727ab94354df94041c7810f (diff)
downloadgnome-shell-e859fc8f161e208b607486131466bb7172d0e6bf.tar.gz
keyboard: Do not call non-existent function
Commit 8fdf47ea5b5 removed _addKeys(), but forgot one caller. We just want to regenerate the keyboard for the current group, so call into the _onGroupChanged function.
-rw-r--r--js/ui/keyboard.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js
index 605af3b56..226ec9b7b 100644
--- a/js/ui/keyboard.js
+++ b/js/ui/keyboard.js
@@ -913,7 +913,7 @@ var Keyboard = new Lang.Class({
_onKeyboardGroupsChanged: function(keyboard) {
this._groups = [];
- this._addKeys();
+ this._onGroupChanged();
},
_onKeyboardStateChanged: function(controller, state) {