[gnome-documents] documents: fix a refactoring leftover
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] documents: fix a refactoring leftover
- Date: Fri, 18 Nov 2011 01:36:04 +0000 (UTC)
commit f6843da1c734e3a899a79aa076a1682b21e4e947
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Thu Nov 17 20:35:25 2011 -0500
documents: fix a refactoring leftover
src/documents.js | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/documents.js b/src/documents.js
index 6a0a14f..8356f37 100644
--- a/src/documents.js
+++ b/src/documents.js
@@ -32,12 +32,12 @@ const _ = imports.gettext.gettext;
const Lang = imports.lang;
const Signals = imports.signals;
-const Categories = imports.categories;
const ChangeMonitor = imports.changeMonitor;
const Global = imports.global;
const Manager = imports.manager;
const Path = imports.path;
const Query = imports.query;
+const Searchbar = imports.searchbar;
const TrackerUtils = imports.trackerUtils;
const Utils = imports.utils;
@@ -533,11 +533,11 @@ DocCommon.prototype = {
if (this.favorite &&
(!activeItem ||
- (activeItem.id != Categories.StockCategories.FAVORITES)))
+ (activeItem.id != Searchbar.SearchCategoryStock.FAVORITES)))
emblemIcons.push(this._createSymbolicEmblem('emblem-favorite'));
if (this.shared &&
(!activeItem ||
- (activeItem.id != Categories.StockCategories.SHARED)))
+ (activeItem.id != Searchbar.SearchCategoryStock.SHARED)))
emblemIcons.push(this._createSymbolicEmblem('emblem-shared'));
if (emblemIcons.length > 0) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]