www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 4577b3d27eb35994e21ac5f2483f4370d7340d7c
parent da0bba1358525788d4404001e63fd3b2b3e6ce03
Author: Dan Stillman <dstillman@zotero.org>
Date:   Mon, 14 Feb 2011 05:33:08 +0000

Use virtual search icon for Unfiled Items


Diffstat:
Mchrome/content/zotero/xpcom/collectionTreeView.js | 8++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/chrome/content/zotero/xpcom/collectionTreeView.js b/chrome/content/zotero/xpcom/collectionTreeView.js @@ -503,8 +503,12 @@ Zotero.CollectionTreeView.prototype.getImageSrc = function(row, col) return "chrome://zotero-platform/content/treesource-collection.png"; case 'search': - // TODO: is this platform independent? - return "chrome://zotero-platform/content/treesource-search.png"; + var str = "chrome://zotero-platform/content/treesource-search"; + if ((source.ref.id + "").match(/^8634533000/)) { // 'UNFILED000' + str += '-virtual'; + } + str += ".png"; + return str; case 'header': if (source.ref.id == 'group-libraries-header') {