[gnome-shell/wip/carlosg/osk-fixes: 1/2] keyboard: Do not call non-existent function



commit e859fc8f161e208b607486131466bb7172d0e6bf
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sun Feb 11 16:15:14 2018 +0100

    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.

 js/ui/keyboard.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
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) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]