mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 13:47:59 +01:00
Fix the :set! completer's title to refer to the host application.
Also fixes a 'pps' value description that refers to Firefox as well.
This commit is contained in:
@@ -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 });
|
||||
};
|
||||
|
||||
@@ -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"]
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user