diff options
author | Kris Maglione <maglione.k@gmail.com> | 2011-01-04 12:53:40 -0500 |
---|---|---|
committer | Kris Maglione <maglione.k@gmail.com> | 2011-01-04 12:53:40 -0500 |
commit | 26b4933b753a5ffe6812f992666734b8f50e44b8 (patch) | |
tree | 8aa87a02dd0c8014135a647896d22c990ea26008 | |
parent | 63899b759818762dbd894a50ac9236f3e3507825 (diff) | |
download | pentadactyl-26b4933b753a5ffe6812f992666734b8f50e44b8.tar.gz |
Fix ruddy unnecessarilly padded, oversized Add-on Bar buttons.
-rw-r--r-- | common/content/statusline.js | 1 | ||||
-rw-r--r-- | common/modules/javascript.jsm | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/common/content/statusline.js b/common/content/statusline.js index 85e6afec..03d6d7ca 100644 --- a/common/content/statusline.js +++ b/common/content/statusline.js @@ -24,6 +24,7 @@ var StatusLine = Module("statusline", { ]]></css>); highlight.loadCSS(<![CDATA[ !AddonBar;#addon-bar padding: 0 !important; min-height: 18px !important; -moz-appearance: none !important; + !AddonButton;#addon-bar>xul|toolbarbutton -moz-appearance: none !important; padding: 0 !important; ]]>); } diff --git a/common/modules/javascript.jsm b/common/modules/javascript.jsm index e3bd2f8d..d48b4659 100644 --- a/common/modules/javascript.jsm +++ b/common/modules/javascript.jsm @@ -55,6 +55,8 @@ var JavaScript = Module("javascript", { let seen = isinstance(obj, ["Sandbox"]) ? set(JavaScript.magicalNames) : {}; let globals = values(toplevel && this.window === obj ? this.globalNames : []); + if (toplevel && "wrappedJSObject" in obj) + yield "wrappedJSObject"; for (let key in iter(globals, properties(obj, !toplevel, true))) if (!set.add(seen, key)) yield key; |