- Timestamp:
- 03/03/10 11:46:37 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Xul_Core/content/scenariCore/widgets/matrix/slotContents.xbl.xml
r15000 r15007 106 106 <children> 107 107 <xul:stack> 108 <xul:hbox class="tabLabel" >108 <xul:hbox class="tabLabel" align="center"> 109 109 <xul:image class="tabLabelIco" xbl:inherits="src=image"/> 110 110 <xul:label class="tabLabelTxt small-margin" xbl:inherits="value=label" minwidth="20" crop="end"/> … … 112 112 <xul:hbox class="tabTools" pack="end" align="top"> 113 113 <xul:hbox anonid="tabToolBar"> 114 <xul:toolbarbutton anonid="closeBtn" oncommand="document.getBindingParent(this).closeTab();"/> 114 <xul:toolbarbutton anonid="optionBtn" class="optionBtn" onmousedown="document.getBindingParent(this).showOptionMnu(this)"/> 115 <xul:toolbarbutton anonid="closeBtn" class="closeBtn" oncommand="document.getBindingParent(this).closeTab();"/> 115 116 </xul:hbox> 116 117 </xul:hbox> 118 <xul:popup anonid="optionMnu"> 119 <xul:menuitem disabled="true" anonid="ctxMenu.refresh" label="Actualiser" oncommand=""/> 120 <xul:menuitem disabled="true" label="Recharger cet onglet" oncommand=""/> 121 <xul:menuseparator/> 122 <xul:menuitem disabled="true" anonid="mnuCloseTab" label="Fermer cet onglet" oncommand=""/> 123 <xul:menuitem disabled="true" anonid="mnuCloseOtherTabs" label="Fermer les autres onglets" oncommand=""/> 124 <xul:menuitem disabled="true" anonid="mnuCloseAllTab" label="Fermer tous les onglets" oncommand=""/> 125 </xul:popup> 117 126 </xul:stack> 118 127 </children> 119 128 </content> 129 <xbl:implementation> 130 <field name="fOptionMnu">document.getAnonymousElementByAttribute(this, "anonid", "optionMnu")</field> 131 <method name="showOptionMnu"> 132 <parameter name="pNode"/> 133 <body><![CDATA[ 134 try{ 135 this.fOptionMnu.openPopup(document.getAnonymousElementByAttribute(this, "anonid", "optionBtn"), 'after_start', 0, 1, true, false); 136 }catch(e){log.debug("slotTabContent.showOptionMnu : "+e);} 137 ]]></body> 138 </method> 139 </xbl:implementation> 120 140 </binding> 121 141 </bindings>
Note: See TracChangeset
for help on using the changeset viewer.