---
modules/hints.js | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/modules/hints.js b/modules/hints.js
index c0afcee..bcdada5 100644
--- a/modules/hints.js
+++ b/modules/hints.js
@@ -422,13 +422,13 @@ hint_manager.prototype = {
/**
* Display the URL and other information for the currently selected node.
*/
-function hints_info (hints, window) {
+function hints_minibuffer_annotation (hints, window) {
this.hints = hints;
this.input = window.minibuffer.input_element;
this.input.annotate = true;
}
-hints_info.prototype = {
- constructor: hints_info,
+hints_minibuffer_annotation.prototype = {
+ constructor: hints_minibuffer_annotation,
update: function () {
var s = [];
@@ -483,7 +483,7 @@ function hints_minibuffer_state (minibuffer, continuation,
buffer) {
basic_minibuffer_state.call(this, minibuffer, $prompt = arguments.$prompt,
$keymap = arguments.$keymap);
if (hints_minibuffer_annotation_mode_enabled)
- this.hints_info = new hints_info(this, buffer.window);
+ this.hints_minibuffer_annotation = new
hints_minibuffer_annotation(this, buffer.window);
this.original_prompt = arguments.$prompt;
this.continuation = continuation;
this.auto_exit = arguments.$auto ? true : false;
@@ -507,8 +507,8 @@ hints_minibuffer_state.prototype = {
this.focused_frame,
this.focused_element);
}
this.manager.update_valid_hints();
- if (this.hints_info)
- this.hints_info.update();
+ if (this.hints_minibuffer_annotation)
+ this.hints_minibuffer_annotation.update();
},
clear_auto_exit_timer: function () {
var window = this.minibuffer.window;
@@ -525,8 +525,8 @@ hints_minibuffer_state.prototype = {
destroy: function () {
this.clear_auto_exit_timer();
this.manager.remove();
- if (this.hints_info)
- this.hints_info.destroy();
+ if (this.hints_minibuffer_annotation)
+ this.hints_minibuffer_annotation.destroy();
basic_minibuffer_state.prototype.destroy.call(this);
},
update_minibuffer: function (m) {
@@ -534,8 +534,8 @@ hints_minibuffer_state.prototype = {
m.prompt = this.original_prompt + " #" + this.typed_number;
else
m.prompt = this.original_prompt;
- if (this.hints_info)
- this.hints_info.update();
+ if (this.hints_minibuffer_annotation)
+ this.hints_minibuffer_annotation.update();
},
handle_auto_exit: function (ambiguous) {
--
1.7.9.1
_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror