1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-09 13:54:12 +01:00

Use separate tab bindings for OS-X. Someone please test this.

This commit is contained in:
Kris Maglione
2008-12-17 00:08:08 -05:00
parent 87956fea0f
commit acb556d111
2 changed files with 29 additions and 1 deletions

View File

@@ -216,9 +216,10 @@ function Tabs() //{{{
},
validator: Option.validateCompleter
});
let fragment = liberator.has("MacUnix") ? "tab-mac" : "tab";
// TODO: Add option, or only apply when go~=[nN]
styles.addSheet("tab-binding", "chrome://browser/content/browser.xul",
".tabbrowser-tab { -moz-binding: url(chrome://liberator/content/bindings.xml#tab) !important; }", true);
".tabbrowser-tab { -moz-binding: url(chrome://liberator/content/bindings.xml#" + fragment + ") !important; }", true);
}