Connect to 'text-changed' signal in the overlay search box
Replace connecting to 'notify::text' in the overlay search box by connecting to 'text-changed' signal made available by ClutterText in Clutter 0.9.
This commit is contained in:
parent
95c87f87fa
commit
009a8b3a04
@ -122,7 +122,7 @@ Sideshow.prototype = {
|
|||||||
text: ""});
|
text: ""});
|
||||||
this.actor.add_actor(this._searchEntry);
|
this.actor.add_actor(this._searchEntry);
|
||||||
this._searchQueued = false;
|
this._searchQueued = false;
|
||||||
this._searchEntry.connect('notify::text', function (se, prop) {
|
this._searchEntry.connect('text-changed', function (se, prop) {
|
||||||
if (me._searchQueued)
|
if (me._searchQueued)
|
||||||
return;
|
return;
|
||||||
me._searchQueued = true;
|
me._searchQueued = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user