From 7db770368d0d78f544b386a20dfd6bbffb5e6be9 Mon Sep 17 00:00:00 2001 From: saneyuki_s Date: Tue, 18 Sep 2012 02:08:36 +0900 Subject: [PATCH] Remove currently needless code. --- modules/themeManager.js | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/modules/themeManager.js b/modules/themeManager.js index fb0a596d..62c6bb16 100644 --- a/modules/themeManager.js +++ b/modules/themeManager.js @@ -151,14 +151,12 @@ TreeStyleTabThemeManager.prototype = { BASE+'metal/shadow-active-l.png', BASE+'metal/shadow-inactive-l.png' ].concat( - TreeStyleTabUtils.Comparator.compare(TreeStyleTabUtils.XULAppInfo.version, '3.5') >= 0 ? - [ - BASE+'metal/tab-active-middle.png', - BASE+'metal/tab-active-middle-selected.png', - BASE+'metal/tab-inactive-middle.png', - BASE+'metal/tab-inactive-middle-selected.png' - ] : - [] + [ + BASE+'metal/tab-active-middle.png', + BASE+'metal/tab-active-middle-selected.png', + BASE+'metal/tab-inactive-middle.png', + BASE+'metal/tab-inactive-middle-selected.png' + ] ), 'metal-right' : [ BASE+'metal/tab-active-r.png', @@ -168,14 +166,12 @@ TreeStyleTabThemeManager.prototype = { BASE+'metal/shadow-active-r.png', BASE+'metal/shadow-inactive-r.png' ].concat( - TreeStyleTabUtils.Comparator.compare(TreeStyleTabUtils.XULAppInfo.version, '3.5') >= 0 ? - [ - BASE+'metal/tab-active-middle.png', - BASE+'metal/tab-active-middle-selected.png', - BASE+'metal/tab-inactive-middle.png', - BASE+'metal/tab-inactive-middle-selected.png' - ] : - [] + [ + BASE+'metal/tab-active-middle.png', + BASE+'metal/tab-active-middle-selected.png', + BASE+'metal/tab-inactive-middle.png', + BASE+'metal/tab-inactive-middle-selected.png' + ] ) } };