[gnome-documents] tracker-controller: don't call non-existing methods
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] tracker-controller: don't call non-existing methods
- Date: Mon, 19 Dec 2011 13:16:54 +0000 (UTC)
commit 1a0eacb68e3071e77b503f556898a8fa4ece829b
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Dec 19 14:14:59 2011 +0100
tracker-controller: don't call non-existing methods
src/trackerController.js | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/trackerController.js b/src/trackerController.js
index c8bd8ae..18e8d8b 100644
--- a/src/trackerController.js
+++ b/src/trackerController.js
@@ -122,6 +122,7 @@ TrackerController.prototype = {
this._currentQuery = null;
this._cancellable = new Gio.Cancellable();
this._queryQueued = false;
+ this._queryQueuedFlags = RefreshFlags.NONE;
this._querying = false;
// startup a refresh of the gdocs cache
this._miner = new GDataMiner.GDataMiner();
@@ -199,7 +200,7 @@ TrackerController.prototype = {
if (this._queryQueued) {
this._queryQueued = false;
- this._refresh();
+ this._refreshInternal(this._queryQueuedFlags);
}
},
@@ -252,6 +253,7 @@ TrackerController.prototype = {
if (this.getQueryStatus()) {
this._cancellable.cancel();
this._queryQueued = true;
+ this._queryQueuedFlags = flags;
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]