Changeset 15067


Ignore:
Timestamp:
03/06/10 21:59:57 (2 years ago)
Author:
sys
Message:

double-click sur tab = maximize.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Xul_Core/content/scenariCore/widgets/matrix/matrix.xbl.xml

    r15041 r15067  
    699699                                if (this.getAttribute("notClosable") == "false") this.closeTab(); 
    700700                        </handler> 
    701       <handler event="mousedown" button="2" phase="capturing"><![CDATA[ 
    702         event.stopPropagation(); 
    703         this.doCommand(); 
    704         this.showOptionMnu(document.getAnonymousElementByAttribute(this, "anonid", "tabLabel")); 
    705             ]]></handler> 
     701                        <handler event="click" button="0" clickcount="2"> 
     702                                this.fSlot.toggleMaximizeBlock(); 
     703                        </handler> 
     704                <handler event="mousedown" button="2" phase="capturing"><![CDATA[ 
     705                        event.stopPropagation(); 
     706                        this.doCommand(); 
     707                        this.showOptionMnu(document.getAnonymousElementByAttribute(this, "anonid", "tabLabel")); 
     708                    ]]></handler> 
    706709                        <handler event="keypress" keycode="VK_LEFT"> 
    707710                                var vDir = window.getComputedStyle(this.parentNode, null).direction; 
Note: See TracChangeset for help on using the changeset viewer.