diff options
| author | Phil Crosby | 2012-07-01 23:40:03 -0700 | 
|---|---|---|
| committer | Phil Crosby | 2012-07-01 23:40:03 -0700 | 
| commit | f67df48a50d66bd629dae2d3804d078a6e0ff410 (patch) | |
| tree | 4f24c4356a8141d99cce3b262fe0bacfe388c153 | |
| parent | 4a10da01c0e0fd21b3ab72a5fc44b1fcf421b4a0 (diff) | |
| download | vimium-f67df48a50d66bd629dae2d3804d078a6e0ff410.tar.bz2 | |
Disable the Vimium browser action until we can polish it some more and get a new icon.
Sorry dmac! Next release.
| -rw-r--r-- | background_page.html | 5 | ||||
| -rw-r--r-- | manifest.json | 6 | 
2 files changed, 5 insertions, 6 deletions
| diff --git a/background_page.html b/background_page.html index c3b170f8..c6d4206b 100644 --- a/background_page.html +++ b/background_page.html @@ -392,11 +392,14 @@     * 3. Active tab is enabled but should be disabled -> disable icon and disable vimium     */    function updateActiveState(tabId) { +    // TODO(philc): Re-enable once we've restyled the browser action icon. +    return;      var enabledIcon = "icons/icon48.png";      var disabledIcon = "icons/icon48disabled.png";      chrome.tabs.get(tabId, function(tab) {        // Default to disabled state in case we can't connect to Vimium, primarily for the "New Tab" page. -      chrome.browserAction.setIcon({ path: disabledIcon }); +      // TODO(philc): Re-enable once we've restyled the browser action icon. +      // chrome.browserAction.setIcon({ path: disabledIcon });        var returnPort = chrome.tabs.connect(tabId, { name: "getActiveState" });        returnPort.onMessage.addListener(function(response) {          var isCurrentlyEnabled = response.enabled; diff --git a/manifest.json b/manifest.json index 5cfca600..c53a02bd 100644 --- a/manifest.json +++ b/manifest.json @@ -29,9 +29,5 @@        "run_at": "document_start",        "all_frames": true      } -  ], -  "browser_action": { -    "default_icon": "icons/icon48disabled.png", -    "popup": "popup.html" -  } +  ]  } | 
