旧来の設定に戻す隠し設定を追加

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@3951 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2009-03-29 19:06:25 +00:00
parent 7a93e1fe19
commit d0a2c3b633
3 changed files with 5 additions and 3 deletions

View File

@ -82,7 +82,7 @@ var TreeStyleTabService = {
kSHOWN_BY_SHORTCUT : 1 << 0,
kSHOWN_BY_MOUSEMOVE : 1 << 1,
kSHOWN_BY_FEEDBACK : 1 << 2,
kSTAY_ON_MOUSEOVER : (1 << 0) | (1 << 1) | (1 << 2),
kKEEP_SHOWN_ON_MOUSEOVER : (1 << 0) | (1 << 1) | (1 << 2),
kTRANSPARENT_NONE : 0,
kTRANSPARENT_PART : 1,

View File

@ -1208,7 +1208,7 @@ TreeStyleTabBrowser.prototype = {
!this.tabContextMenuShown &&
(
!this.autoHideShown ||
this.showHideTabbarReason & this.kSTAY_ON_MOUSEOVER
this.showHideTabbarReason & this.kKEEP_SHOWN_ON_MOUSEOVER
)
)
this.showHideTabbarOnMousemove(aEvent);
@ -3646,7 +3646,8 @@ TreeStyleTabBrowser.prototype = {
if (this.autoHideShown) {
if (
shouldKeepShown &&
this.showHideTabbarReason & this.kSTAY_ON_MOUSEOVER
this.showHideTabbarReason & this.kKEEP_SHOWN_ON_MOUSEOVER &&
this.getTreePref('tabbar.autoShow.keepShownOnMouseover')
) {
this.showHideTabbarReason = this.kSHOWN_BY_MOUSEMOVE;
this.cancelDelayedAutoShowForShortcut();

View File

@ -27,6 +27,7 @@ pref("extensions.treestyletab.tabbar.autoShow.accelKeyDown.delay", 800);
pref("extensions.treestyletab.tabbar.autoShow.tabSwitch", true);
pref("extensions.treestyletab.tabbar.autoShow.feedback", false);
pref("extensions.treestyletab.tabbar.autoShow.feedback.delay", 3000);
pref("extensions.treestyletab.tabbar.autoShow.keepShownOnMouseover", true);
pref("extensions.treestyletab.tabbar.fixed", false);
pref("extensions.treestyletab.tabbar.syncRelatedPrefsForDynamicPosition", true);
pref("extensions.treestyletab.enableSubtreeIndent", true);