Changeset 15023


Ignore:
Timestamp:
03/04/10 10:53:30 (2 years ago)
Author:
sam
Message:

stylage xul sc4 suite

File:
1 edited

Legend:

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

    r15021 r15023  
    159159                                                <xul:hbox anonid="tabLabel" class="tabLabel" align="center"> 
    160160                                <xul:image class="tabLabelIco" xbl:inherits="src=image"/> 
    161                                         <xul:label class="tabLabelTxt small-margin" xbl:inherits="value=label" minwidth="20" crop="end"/> 
     161                                        <xul:label class="small-margin tabLabelTxt" xbl:inherits="value=label" minwidth="20" crop="end"/> 
    162162                                        <xul:hbox class="tabLabelFlags"> 
    163163                                        <xul:image class="tabLabelFlagDirty" src="chrome://scenariCore/content/widgets/matrix/img/dirty-flag.png"/> 
     
    173173                                                <xul:popup anonid="optionMnu"> 
    174174                                <xul:menuitem anonid="optionMnu.pinTab" label="Figer cet onglet" type="checkbox" oncommand="document.getBindingParent(this).pinTab();" tooltiptext=""/> 
    175                                 <xul:menuseparator anonid="optionMnu.closeSep"/> 
     175                                <xul:menuseparator/> 
     176                                <xul:menuitem anonid="optionMnu.closeTab" label="Fermer cet onglet" oncommand="document.getBindingParent(this).closeTab();" tooltiptext=""/> 
    176177                                <xul:menuitem anonid="optionMnu.closeOtherTabs" label="Fermer les autres onglets" oncommand="document.getBindingParent(this).fSlot.closeOtherTabs(document.getBindingParent(this));" tooltiptext=""/> 
    177178                                <xul:menuitem anonid="optionMnu.closeAllTabs" label="Fermer tous les onglets" oncommand="document.getBindingParent(this).fSlot.closeAllTabs();" tooltiptext=""/> 
     
    183184                        <field name="fOptionMnu">document.getAnonymousElementByAttribute(this, "anonid", "optionMnu")</field> 
    184185                        <field name="fOptionMnuPinTab">document.getAnonymousElementByAttribute(this, "anonid", "optionMnu.pinTab")</field> 
    185                         <field name="fOptionMnuCloseSep">document.getAnonymousElementByAttribute(this, "anonid", "optionMnu.closeSep")</field> 
    186186                        <field name="fOptionMnuCloseOtherTabs">document.getAnonymousElementByAttribute(this, "anonid", "optionMnu.closeOtherTabs")</field> 
    187187                        <field name="fOptionMnuCloseAllTabs">document.getAnonymousElementByAttribute(this, "anonid", "optionMnu.closeAllTabs")</field> 
     
    191191                                try{ 
    192192                                        var vHasTabs = this.fSlot.fTabsContainer.childElementCount > 1; 
    193                                         this.fOptionMnuCloseSep.hidden = !vHasTabs; 
    194193                                        this.fOptionMnuCloseOtherTabs.hidden = !vHasTabs; 
    195194                                        this.fOptionMnuCloseAllTabs.hidden = !vHasTabs; 
Note: See TracChangeset for help on using the changeset viewer.