diff options
Diffstat (limited to 'common/content')
-rw-r--r-- | common/content/browser.js | 4 | ||||
-rw-r--r-- | common/content/commandline.js | 2 | ||||
-rw-r--r-- | common/content/dactyl.js | 4 | ||||
-rw-r--r-- | common/content/events.js | 2 | ||||
-rw-r--r-- | common/content/mow.js | 2 | ||||
-rw-r--r-- | common/content/statusline.js | 4 |
6 files changed, 9 insertions, 9 deletions
diff --git a/common/content/browser.js b/common/content/browser.js index 38ffda2c..ff3fbc1a 100644 --- a/common/content/browser.js +++ b/common/content/browser.js @@ -13,8 +13,8 @@ */ var Browser = Module("browser", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), { init: function init() { - this.cleanupProgressListener = util.overlayObject(window.XULBrowserWindow, - this.progressListener); + this.cleanupProgressListener = overlay.overlayObject(window.XULBrowserWindow, + this.progressListener); util.addObserver(this); }, diff --git a/common/content/commandline.js b/common/content/commandline.js index 0675153b..4dfe2f08 100644 --- a/common/content/commandline.js +++ b/common/content/commandline.js @@ -15,7 +15,7 @@ var CommandWidgets = Class("CommandWidgets", { let s = "dactyl-statusline-field-"; XML.ignoreWhitespace = true; - util.overlayWindow(window, { + overlay.overlayWindow(window, { objects: { eventTarget: commandline }, diff --git a/common/content/dactyl.js b/common/content/dactyl.js index b9395f84..721abc1c 100644 --- a/common/content/dactyl.js +++ b/common/content/dactyl.js @@ -40,7 +40,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), { styles.registerSheet("resource://dactyl-skin/dactyl.css"); this.cleanups = []; - this.cleanups.push(util.overlayObject(window, { + this.cleanups.push(overlay.overlayObject(window, { focusAndSelectUrlBar: function focusAndSelectUrlBar() { switch (options.get("strictfocus").getKey(document.documentURIObject || util.newURI(document.documentURI), "moderate")) { case "laissez-faire": @@ -305,7 +305,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), { }; XML.ignoreWhitespace = true; if (!elems.bell) - util.overlayWindow(window, { + overlay.overlayWindow(window, { objects: elems, prepend: <> <window id={document.documentElement.id} xmlns={XUL}> diff --git a/common/content/events.js b/common/content/events.js index 6f3090df..6981f596 100644 --- a/common/content/events.js +++ b/common/content/events.js @@ -410,7 +410,7 @@ var Events = Module("events", { EventHive.prototype.wrapListener = this.closure.wrapListener; XML.ignoreWhitespace = true; - util.overlayWindow(window, { + overlay.overlayWindow(window, { append: <e4x xmlns={XUL}> <window id={document.documentElement.id}> <!-- http://developer.mozilla.org/en/docs/XUL_Tutorial:Updating_Commands --> diff --git a/common/content/mow.js b/common/content/mow.js index 4254cb9c..b02c00c9 100644 --- a/common/content/mow.js +++ b/common/content/mow.js @@ -44,7 +44,7 @@ var MOW = Module("mow", { true); XML.ignoreWhitespace = true; - util.overlayWindow(window, { + overlay.overlayWindow(window, { objects: { eventTarget: this }, diff --git a/common/content/statusline.js b/common/content/statusline.js index 2d93e512..ba290b72 100644 --- a/common/content/statusline.js +++ b/common/content/statusline.js @@ -23,7 +23,7 @@ var StatusLine = Module("statusline", { #addon-bar > xul|toolbarspring { visibility: collapse; } ]]></css>); - util.overlayWindow(window, { append: <><statusbar id="status-bar" ordinal="0"/></> }); + overlay.overlayWindow(window, { append: <><statusbar id="status-bar" ordinal="0"/></> }); highlight.loadCSS(util.compileMacro(<![CDATA[ !AddonBar;#addon-bar { @@ -83,7 +83,7 @@ var StatusLine = Module("statusline", { for each (let attr in prepend..@key) attr.parent().@id = "dactyl-statusline-field-" + attr; - util.overlayWindow(window, { + overlay.overlayWindow(window, { objects: this.widgets = { get status() this.container }, prepend: prepend.elements() }); |