[gnome-maps] placeEntry: Use on search-changed signal
- From: Jonas Danielsson <jonasdn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps] placeEntry: Use on search-changed signal
- Date: Tue, 5 Jan 2016 19:16:46 +0000 (UTC)
commit 5ea1cebd3c752eb2162520627ceea2222aa1636f
Author: Hashem Nasarat <hashem riseup net>
Date: Mon Dec 14 17:13:02 2015 -0500
placeEntry: Use on search-changed signal
GtkSearchEntry's search-changed runs the callback after a short delay.
the changed signal runs the callback function immediately after every
keypress which is unnecessary if the user is in the process of quickly
typing out a string.
https://bugzilla.gnome.org/show_bug.cgi?id=759473
src/placeEntry.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/placeEntry.js b/src/placeEntry.js
index 4e4e18a..d418703 100644
--- a/src/placeEntry.js
+++ b/src/placeEntry.js
@@ -105,7 +105,7 @@ const PlaceEntry = new Lang.Class({
this._popover = this._createPopover(numVisible, maxChars);
this.connect('activate', this._onActivate.bind(this));
- this.connect('changed', (function() {
+ this.connect('search-changed', (function() {
if (this._cancellable)
this._cancellable.cancel();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]