1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-14 23:25:45 +01:00

Make Melodactyl minimally functional. Closes issue #340.

--HG--
rename : pentadactyl/chrome.manifest => common/chrome.manifest
This commit is contained in:
Kris Maglione
2011-02-22 10:01:56 -05:00
parent d92f3f2c9c
commit 8299257422
13 changed files with 259 additions and 338 deletions

View File

@@ -32,8 +32,6 @@ var Config = Module("config", ConfigBase, {
checkupdates: ["Check for updates",
function () { window.checkForUpdates(); },
function () "checkForUpdates" in window],
cleardata: ["Clear private data",
function () { Cc["@mozilla.org/browser/browserglue;1"].getService(Ci.nsIBrowserGlue).sanitize(window || null); }],
cookies: ["List your cookies",
function () { window.toOpenWindowByType("Browser:Cookies", "chrome://browser/content/preferences/cookies.xul", "chrome,dialog=no,resizable"); }],
console: ["JavaScript console",
@@ -80,8 +78,6 @@ var Config = Module("config", ConfigBase, {
function () "start_venkman" in window]
},
get visualbellWindow() this.browser.mPanelContainer,
removeTab: function removeTab(tab) {
if (this.tabbrowser.mTabs.length > 1)
this.tabbrowser.removeTab(tab);