[gnome-shell] search: Remove unnecessary import and full reference
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] search: Remove unnecessary import and full reference
- Date: Sat, 2 Nov 2013 22:03:12 +0000 (UTC)
commit 252617bd702e225366bdf1bdda71d0f85f628a97
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Sat Nov 2 18:01:26 2013 -0400
search: Remove unnecessary import and full reference
I'm surprised this worked, actually...
js/ui/search.js | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/search.js b/js/ui/search.js
index a76680a..dcaef41 100644
--- a/js/ui/search.js
+++ b/js/ui/search.js
@@ -16,7 +16,6 @@ const Main = imports.ui.main;
const Overview = imports.ui.overview;
const RemoteSearch = imports.ui.remoteSearch;
const Separator = imports.ui.separator;
-const Search = imports.ui.search;
const Util = imports.misc.util;
const SEARCH_PROVIDERS_SCHEMA = 'org.gnome.desktop.search-providers';
@@ -32,7 +31,7 @@ const SearchSystem = new Lang.Class({
this._registerProvider(new AppDisplay.AppSearchProvider());
- this._searchSettings = new Gio.Settings({ schema: Search.SEARCH_PROVIDERS_SCHEMA });
+ this._searchSettings = new Gio.Settings({ schema: SEARCH_PROVIDERS_SCHEMA });
this._searchSettings.connect('changed::disabled', Lang.bind(this, this._reloadRemoteProviders));
this._searchSettings.connect('changed::disable-external', Lang.bind(this,
this._reloadRemoteProviders));
this._searchSettings.connect('changed::sort-order', Lang.bind(this, this._reloadRemoteProviders));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]