Migrate preference for the delay of auto show

This commit is contained in:
YUKI Hiroshi 2016-02-22 14:09:30 +09:00
parent 8e201ee3a0
commit f28946b5f8

View File

@ -69,7 +69,7 @@ XPCOMUtils.defineLazyModuleGetter(this, 'TreeStyleTabConstants',
'resource://treestyletab-modules/constants.js', 'TreeStyleTabConstants'); 'resource://treestyletab-modules/constants.js', 'TreeStyleTabConstants');
const TST_PREF_PREFIX = 'extensions.treestyletab.'; const TST_PREF_PREFIX = 'extensions.treestyletab.';
const TST_PREF_VERSION = 13; const TST_PREF_VERSION = 14;
var TreeStyleTabUtils = { 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: default:
for (let i = 0, maxi = orientalPrefs.length; i < maxi; i++) for (let i = 0, maxi = orientalPrefs.length; i < maxi; i++)
{ {