Firefox 3.5.xで期待通りに動いていなかった
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@4946 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
1cf67e1a65
commit
34a552410f
@ -2134,11 +2134,17 @@ catch(e) {
|
|||||||
|
|
||||||
get shouldListenKeyEventsForAutoExpandByFocusChange()
|
get shouldListenKeyEventsForAutoExpandByFocusChange()
|
||||||
{
|
{
|
||||||
return !this.getPref('browser.ctrlTab.previews') &&
|
return !this.ctrlTabPreviewsEnabled &&
|
||||||
!this.getTreePref('autoCollapseExpandSubTreeOnSelect.whileFocusMovingByShortcut') &&
|
!this.getTreePref('autoCollapseExpandSubTreeOnSelect.whileFocusMovingByShortcut') &&
|
||||||
this.getTreePref('autoCollapseExpandSubTreeOnSelect');
|
this.getTreePref('autoCollapseExpandSubTreeOnSelect');
|
||||||
},
|
},
|
||||||
|
|
||||||
|
get ctrlTabPreviewsEnabled()
|
||||||
|
{
|
||||||
|
return 'allTabs' in window &&
|
||||||
|
this.getPref('browser.ctrlTab.previews');
|
||||||
|
},
|
||||||
|
|
||||||
// autohide
|
// autohide
|
||||||
|
|
||||||
updateAutoHideKeyListeners : function()
|
updateAutoHideKeyListeners : function()
|
||||||
@ -2161,7 +2167,7 @@ catch(e) {
|
|||||||
|
|
||||||
get shouldListenKeyEventsForAutoHide()
|
get shouldListenKeyEventsForAutoHide()
|
||||||
{
|
{
|
||||||
return !this.getPref('browser.ctrlTab.previews') &&
|
return !this.ctrlTabPreviewsEnabled &&
|
||||||
(
|
(
|
||||||
this.getTreePref('tabbar.autoShow.accelKeyDown') ||
|
this.getTreePref('tabbar.autoShow.accelKeyDown') ||
|
||||||
this.getTreePref('tabbar.autoShow.tabSwitch') ||
|
this.getTreePref('tabbar.autoShow.tabSwitch') ||
|
||||||
|
Loading…
Reference in New Issue
Block a user