diff --git a/chrome/content/zotero-platform/mac/treesource-search-virtual.png b/chrome/content/zotero-platform/mac/treesource-search-virtual.png deleted file mode 100644 index 0880401315..0000000000 Binary files a/chrome/content/zotero-platform/mac/treesource-search-virtual.png and /dev/null differ diff --git a/chrome/content/zotero/xpcom/collectionTreeView.js b/chrome/content/zotero/xpcom/collectionTreeView.js index 513b5b47a6..cc56d09ee2 100644 --- a/chrome/content/zotero/xpcom/collectionTreeView.js +++ b/chrome/content/zotero/xpcom/collectionTreeView.js @@ -503,12 +503,11 @@ Zotero.CollectionTreeView.prototype.getImageSrc = function(row, col) return "chrome://zotero-platform/content/treesource-collection.png"; case 'search': - var str = "chrome://zotero-platform/content/treesource-search"; if ((source.ref.id + "").match(/^8634533000/)) { // 'UNFILED000' - str += '-virtual'; + collectionType = "search-virtual"; + break; } - str += ".png"; - return str; + return "chrome://zotero-platform/content/treesource-search.png"; case 'header': if (source.ref.id == 'group-libraries-header') { diff --git a/chrome/skin/default/zotero/treesource-search-virtual.png b/chrome/skin/default/zotero/treesource-search-virtual.png new file mode 100644 index 0000000000..44084add79 Binary files /dev/null and b/chrome/skin/default/zotero/treesource-search-virtual.png differ