From f28946b5f8ca8a36c60f1a397ee3aa6c8aba1a58 Mon Sep 17 00:00:00 2001 From: YUKI Hiroshi Date: Mon, 22 Feb 2016 14:09:30 +0900 Subject: [PATCH] Migrate preference for the delay of auto show --- modules/utils.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/utils.js b/modules/utils.js index 5ea25f2d..62a1657b 100644 --- a/modules/utils.js +++ b/modules/utils.js @@ -69,7 +69,7 @@ XPCOMUtils.defineLazyModuleGetter(this, 'TreeStyleTabConstants', 'resource://treestyletab-modules/constants.js', 'TreeStyleTabConstants'); const TST_PREF_PREFIX = 'extensions.treestyletab.'; -const TST_PREF_VERSION = 13; +const TST_PREF_VERSION = 14; var TreeStyleTabUtils = { @@ -254,6 +254,12 @@ var TreeStyleTabUtils = { ); } } + case 13: + { + let delay = this.getTreePref('tabbar.autoHide.delay'); + if (delay !== null) + this.setTreePref('tabbar.autoHide.delay.show', delay); + } default: for (let i = 0, maxi = orientalPrefs.length; i < maxi; i++) {