[gnome-documents] search-provider: don't initialize a TrackerController
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] search-provider: don't initialize a TrackerController
- Date: Mon, 12 Mar 2012 20:18:13 +0000 (UTC)
commit 84b3bbca033efd499034f77cd326b3feb80cb110
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Mar 12 12:13:01 2012 -0400
search-provider: don't initialize a TrackerController
And a bunch of other items that it used to depend on.
TrackerController is meant to be used by the main application.
src/shellSearchProvider.js | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/shellSearchProvider.js b/src/shellSearchProvider.js
index f4ac53c..e25ee13 100644
--- a/src/shellSearchProvider.js
+++ b/src/shellSearchProvider.js
@@ -396,7 +396,6 @@ ShellSearchProvider.prototype = {
Global.settings = new Gio.Settings({ schema: 'org.gnome.documents' });
Global.offsetController = new OffsetController.OffsetController();
Global.searchController = new Searchbar.SearchController();
- Global.errorHandler = new Error.ErrorHandler();
// connect to tracker
try {
@@ -419,10 +418,7 @@ ShellSearchProvider.prototype = {
Global.searchMatchManager = new Searchbar.SearchMatchManager();
Global.searchTypeManager = new Searchbar.SearchTypeManager();
Global.queryBuilder = new Query.QueryBuilder();
- Global.changeMonitor = new ChangeMonitor.TrackerChangeMonitor();
Global.collectionManager = new Manager.BaseManager();
- Global.documentManager = new Documents.DocumentManager();
- Global.trackerController = new TrackerController.TrackerController();
},
_resetTimeout: function() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]