keyboard: Remove unused code

This signal does not exist, the Suggestions.add() method allows to attach
per-element callbacks instead.
This commit is contained in:
Carlos Garnacho 2019-01-21 21:48:53 +01:00 committed by Florian Müllner
parent 83eb75ad7a
commit 291aa0b053

View File

@ -675,9 +675,6 @@ var Keyboard = class Keyboard {
this._current_page = null; this._current_page = null;
this._suggestions = new Suggestions(); this._suggestions = new Suggestions();
this._suggestions.connect('suggestion-clicked', (suggestions, str) => {
this._keyboardController.commitString(str);
});
this.actor.add(this._suggestions.actor, this.actor.add(this._suggestions.actor,
{ x_align: St.Align.MIDDLE, { x_align: St.Align.MIDDLE,
x_fill: false }); x_fill: false });