Migrate preference for the delay of auto show
This commit is contained in:
parent
8e201ee3a0
commit
f28946b5f8
@ -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++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user