Multiple Tab Handlerの仕様変更に追従

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@1868 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2008-02-24 07:58:12 +00:00
parent 0a71c203a4
commit c1d9a5e398
2 changed files with 14 additions and 11 deletions

View File

@ -819,9 +819,9 @@ TreeStyleTabBrowser.prototype = {
break;
}
},
/* DOM Event Handling */
handleEvent : function(aEvent)
{
switch (aEvent.type)
@ -1323,17 +1323,17 @@ TreeStyleTabBrowser.prototype = {
this.collapseExpandSubtree(tab, isSubTreeCollapsed);
}
if (isDuplicated) {
this.clearCachedIds();
}
if (isDuplicated) this.clearCachedIds();
},
getDuplicatedId : function(aId)
getDuplicatedId : function(aId)
{
if (!(aId in this.duplicatedIdsHash))
this.duplicatedIdsHash[aId] = this.makeNewId();
return this.duplicatedIdsHash[aId];
},
duplicatedIdsHash : {},
clearCachedIds : function()
{
if (this.clearCachedIdsTimer) {
@ -1349,7 +1349,7 @@ TreeStyleTabBrowser.prototype = {
{
this.duplicatedIdsHash = {};
},
onTabSelect : function(aEvent)
{
var b = this.mTabBrowser;
@ -1857,6 +1857,7 @@ TreeStyleTabBrowser.prototype = {
this.getNextVisibleTab(draggedTabs[0]) != aInfo.insertBefore
)
) {
b.duplicatingSelectedTabs = aInfo.action & self.kACTION_DUPLICATE ? true : false ; // Multiple Tab Handler
b.movingSelectedTabs = true; // Multiple Tab Handler
var tab, newIndex;
@ -1887,6 +1888,7 @@ TreeStyleTabBrowser.prototype = {
this.attachTabsOnDrop(newRoots, aInfo.parent);
b.movingSelectedTabs = false; // Multiple Tab Handler
b.duplicatingSelectedTabs = false; // Multiple Tab Handler
}
return true;

View File

@ -378,12 +378,13 @@ tabbrowser[treestyletab-mode="vertical"] .tabs-alltabs-stack > hbox:not(:last-ch
display: none !important;
}
tabbrowser[treestyletab-mode="vertical"] .tabs-alltabs-button {
border-top: 1px solid;
-moz-border-top-colors: ThreeDShadow;
background: ThreeDFace;
-moz-appearance: none !important;
border-top: 1px solid ThreeDShadow !important;
-moz-border-top-colors: ThreeDShadow !important;
background: ThreeDFace !important;
}
tabbrowser[treestyletab-mode="vertical"] .tabs-alltabs-button:hover {
background: ThreeDHighlight;
background: ThreeDHighlight !important;
}
tabbrowser[treestyletab-mode="vertical"] .tabs-alltabs-box,