mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 17:42:27 +01:00
Re-enable tab numbering
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
<children/>
|
||||
</content>
|
||||
</binding>
|
||||
<!--binding id="tab"
|
||||
<binding id="tab"
|
||||
extends="chrome://browser/content/tabbrowser.xml#tabbrowser-tab">
|
||||
<content chromedir="&locale.dir;"
|
||||
closetabtext="&closeTab.label;">
|
||||
@@ -34,7 +34,7 @@
|
||||
<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"/>
|
||||
</content>
|
||||
</binding-->
|
||||
</binding>
|
||||
<binding id="compitem-td">
|
||||
<!-- No white space. The table is white-space: pre; :( -->
|
||||
<content><html:span class="td-strut"/><html:span class="td-span"><children/></html:span></content>
|
||||
|
||||
@@ -229,6 +229,10 @@ function Tabs() //{{{
|
||||
},
|
||||
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);
|
||||
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////}}}
|
||||
|
||||
Reference in New Issue
Block a user