mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 20:02:25 +01:00
Re-enable tab numbering
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////}}}
|
/////////////////////////////////////////////////////////////////////////////}}}
|
||||||
|
|||||||
Reference in New Issue
Block a user