From a6fde383c01d5bc92ba73e52a735f914e81931c5 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Sat, 27 Jun 2009 17:12:13 +1000 Subject: [PATCH] Fix the :set! completer's title to refer to the host application. Also fixes a 'pps' value description that refers to Firefox as well. --- common/content/options.js | 2 +- common/content/tabs.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/common/content/options.js b/common/content/options.js index 719c3107..ddb74490 100644 --- a/common/content/options.js +++ b/common/content/options.js @@ -982,7 +982,7 @@ function Options() //{{{ completion.preference = function preference(context) { context.anchored = false; - context.title = ["Firefox Preference", "Value"]; + context.title = [config.hostApplication + " Preference", "Value"]; context.keys = { text: function (item) item, description: function (item) options.getPref(item) }; context.completions = services.get("pref").getChildList("", { value: 0 }); }; diff --git a/common/content/tabs.js b/common/content/tabs.js index 92cda04e..6399b0a7 100644 --- a/common/content/tabs.js +++ b/common/content/tabs.js @@ -184,6 +184,7 @@ function Tabs() //{{{ validator: Option.validateCompleter }); + // TODO: Is this really applicable to Xulmus? options.add(["popups", "pps"], "Where to show requested popup windows", "number", 1, @@ -204,7 +205,7 @@ function Tabs() //{{{ completer: function (context) [ ["0", "Force to open in the current tab"], ["1", "Always open in a new tab"], - ["2", "Open in a new window if it has a specific requested size (default in Firefox)"], + ["2", "Open in a new window if it has a specific requested size (default in " + config.hostApplication + ")"], ["3", "Always open in a new window"], ["4", "Open in the same tab unless it has a specific requested size"] ],