mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 20:47:58 +01:00
More bootstrap work.
--HG-- branch : bootstrapped
This commit is contained in:
@@ -12,7 +12,7 @@ const StatusLine = Module("statusline", {
|
||||
init: function () {
|
||||
|
||||
let _commandline = "if (window.dactyl) return dactyl.modules.commandline";
|
||||
let append = <e4x xmlns={XUL} xmlns:dactyl={NS}>
|
||||
let prepend = <e4x xmlns={XUL} xmlns:dactyl={NS}>
|
||||
<statusbar id="status-bar" dactyl:highlight="StatusLine StatusNormal">
|
||||
<!-- insertbefore="dactyl.statusBefore;" insertafter="dactyl.statusAfter;" -->
|
||||
<hbox
|
||||
@@ -45,12 +45,12 @@ const StatusLine = Module("statusline", {
|
||||
</statusbar>
|
||||
</e4x>;
|
||||
|
||||
for each (let attr in append..@key)
|
||||
for each (let attr in prepend..@key)
|
||||
attr.parent().@id = "dactyl-statusline-field-" + attr;
|
||||
|
||||
util.overlayWindow(window, {
|
||||
objects: this.widgets = { get status() this.container },
|
||||
append: append.*
|
||||
prepend: prepend.elements()
|
||||
});
|
||||
|
||||
this._statusLine = document.getElementById("status-bar");
|
||||
|
||||
Reference in New Issue
Block a user