1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 20:12:27 +01:00

Re-enable tab numbering

This commit is contained in:
Kris Maglione
2008-11-05 01:03:32 +00:00
parent 0da30a4dc3
commit 6c6b70a2c5
2 changed files with 6 additions and 2 deletions

View File

@@ -18,7 +18,7 @@
<children/> <children/>
</content> </content>
</binding> </binding>
<!--binding id="tab" <binding id="tab"
extends="chrome://browser/content/tabbrowser.xml#tabbrowser-tab"> extends="chrome://browser/content/tabbrowser.xml#tabbrowser-tab">
<content chromedir="&locale.dir;" <content chromedir="&locale.dir;"
closetabtext="&closeTab.label;"> closetabtext="&closeTab.label;">
@@ -34,7 +34,7 @@
<xul:label flex="1" xbl:inherits="value=label,crop,accesskey" class="tab-text hl-TabText"/> <xul:label flex="1" xbl:inherits="value=label,crop,accesskey" class="tab-text hl-TabText"/>
<xul:toolbarbutton anonid="close-button" tabindex="-1" class="tab-close-button hl-TabClose"/> <xul:toolbarbutton anonid="close-button" tabindex="-1" class="tab-close-button hl-TabClose"/>
</content> </content>
</binding--> </binding>
<binding id="compitem-td"> <binding id="compitem-td">
<!-- No white space. The table is white-space: pre; :( --> <!-- No white space. The table is white-space: pre; :( -->
<content><html:span class="td-strut"/><html:span class="td-span"><children/></html:span></content> <content><html:span class="td-strut"/><html:span class="td-span"><children/></html:span></content>

View File

@@ -229,6 +229,10 @@ function Tabs() //{{{
}, },
validator: function (value) value >= 0 && value <= 4 validator: function (value) value >= 0 && value <= 4
}); });
// TODO: Add option, or only apply when go~=[nN]
styles.addSheet("tab-binding", "chrome://*",
".tabbrowser-tab { -moz-binding: url(chrome://liberator/content/bindings.xml#tab); }", true);
} }
/////////////////////////////////////////////////////////////////////////////}}} /////////////////////////////////////////////////////////////////////////////}}}