mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 07:48:00 +01:00
Update tab binding for 4.0b7. Needs to be applied earlier, still.
This commit is contained in:
@@ -21,9 +21,16 @@
|
||||
<binding id="tab" display="xul:hbox"
|
||||
extends="chrome://browser/content/tabbrowser.xml#tabbrowser-tab">
|
||||
<content context="tabContextMenu" closetabtext="Close Tab">
|
||||
<xul:stack class="tab-stack" flex="1">
|
||||
<xul:vbox class="tab-progress-container">
|
||||
<xul:progressmeter class="tab-progress" mode="normal"
|
||||
xbl:inherits="value=progresspercent,busy,stalled,fadein,selected"/>
|
||||
</xul:vbox>
|
||||
<xul:hbox class="tab-content" align="center">
|
||||
<xul:stack class="tab-icon dactyl-tab-stack">
|
||||
<xul:image xbl:inherits="validate,src=image" role="presentation"
|
||||
class="tab-icon-image" dactyl:highlight="TabIcon"/>
|
||||
<xul:image xbl:inherits="validate,src=image,fadein,pinned,busy,stalled,selected"
|
||||
class="tab-icon-image" dactyl:highlight="TabIcon"
|
||||
role="presentation"/>
|
||||
<xul:vbox>
|
||||
<xul:spring flex="1"/>
|
||||
<xul:label xbl:inherits="value=ordinal" dactyl:highlight="TabIconNumber"/>
|
||||
@@ -32,12 +39,16 @@
|
||||
</xul:stack>
|
||||
<xul:label xbl:inherits="value=ordinal" dactyl:highlight="TabNumber"/>
|
||||
<xul:label flex="1"
|
||||
xbl:inherits="value=label,crop,accesskey"
|
||||
xbl:inherits="value=label,crop,accesskey,fadein,pinned,selected"
|
||||
class="tab-text" dactyl:highlight="TabText"
|
||||
role="presentation"/>
|
||||
<xul:toolbarbutton anonid="close-button"
|
||||
xbl:inherits="fadein,pinned,selected"
|
||||
tabindex="-1"
|
||||
clickthrough="never"
|
||||
class="tab-close-button" dactyl:highlight="TabClose"/>
|
||||
</xul:hbox>
|
||||
</xul:stack>
|
||||
</content>
|
||||
</binding>
|
||||
|
||||
|
||||
@@ -912,7 +912,7 @@ const Commands = Module("commands", {
|
||||
}
|
||||
|
||||
// dynamically get completions as specified with the command's completer function
|
||||
let command = commands.get(cmd);
|
||||
let command = cmd && commands.get(cmd);
|
||||
if (!command) {
|
||||
context.highlight(0, cmd && cmd.length, "SPELLCHECK");
|
||||
return;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<Description
|
||||
em:id="{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
|
||||
em:minVersion="3.5"
|
||||
em:maxVersion="4.0b7pre"/>
|
||||
em:maxVersion="4.0b8pre"/>
|
||||
</em:targetApplication>
|
||||
</Description>
|
||||
</RDF>
|
||||
|
||||
Reference in New Issue
Block a user