From 55f5f9292b18a7b6ff2f6d70cb45a530b81e3862 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Thu, 4 Aug 2011 13:03:40 -0400 Subject: [PATCH] Fix some :buffer completion issues. --- common/content/buffer.js | 2 +- common/content/tabs.js | 2 +- common/modules/template.jsm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/content/buffer.js b/common/content/buffer.js index d0c732cd..d1577935 100644 --- a/common/content/buffer.js +++ b/common/content/buffer.js @@ -1627,7 +1627,7 @@ var Buffer = Module("buffer", { return { text: [i + ": " + (tab.label || /*L*/"(Untitled)"), i + ": " + url], tab: tab, - id: i - 1, + id: i, url: url, icon: tab.image || DEFAULT_FAVICON }; diff --git a/common/content/tabs.js b/common/content/tabs.js index c6210807..2aeae8b7 100644 --- a/common/content/tabs.js +++ b/common/content/tabs.js @@ -32,7 +32,7 @@ var Tabs = Module("tabs", { false, true); dactyl.commands["tabs.select"] = function (event) { - tabs.select(event.originalTarget.getAttribute("identifier")); + tabs.switchTo(event.originalTarget.getAttribute("identifier")); }; this.tabBinding = styles.system.add("tab-binding", "chrome://browser/content/browser.xul", String.replace(<> ) })  } - {text || ""} ,