[gnome-shell/wip/carlosg/osk-emoji-and-keypad: 72/76] keyboard: Remove unused code
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/carlosg/osk-emoji-and-keypad: 72/76] keyboard: Remove unused code
- Date: Thu, 31 Jan 2019 20:21:20 +0000 (UTC)
commit 526ca5646d2656f50587290cfb77a54a39613d5d
Author: Carlos Garnacho <carlosg gnome org>
Date: Mon Jan 21 21:48:53 2019 +0100
keyboard: Remove unused code
This signal does not exist, the Suggestions.add() method allows to attach
per-element callbacks instead.
js/ui/keyboard.js | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js
index dc36e8325..a04902349 100644
--- a/js/ui/keyboard.js
+++ b/js/ui/keyboard.js
@@ -675,9 +675,6 @@ var Keyboard = class Keyboard {
this._current_page = null;
this._suggestions = new Suggestions();
- this._suggestions.connect('suggestion-clicked', (suggestions, str) => {
- this._keyboardController.commitString(str);
- });
this.actor.add(this._suggestions.actor,
{ x_align: St.Align.MIDDLE,
x_fill: false });
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]