browser_object_class: replace `label' with `hint'
commit8e87e409a0abeb5b51f5e8b39188e981d8eb830d
authorJohn Foerch <jjfoerch@earthlink.net>
Tue, 22 Sep 2009 19:23:30 +0000 (22 15:23 -0400)
committerJohn Foerch <jjfoerch@earthlink.net>
Tue, 22 Sep 2009 19:23:30 +0000 (22 15:23 -0400)
tree60987c437954319c908df4ea6eadc55851073e53
parent17aaaa448019007da6ed937d543ee06e5b6f89bd
browser_object_class: replace `label' with `hint'

The "label" field of browser object classes was a simple noun, naming the
type of datum to be collected.  This text was combined with the verb
"select" in minibuffer prompts, giving the user a hint about what to do.
However, the verb "select" is really only appropriate for those browser
object classes which use the hinting module to perform their interaction.

Therefore, "label" has been replaced by a field called "hint", which should
now be a string of both a verb and a noun, tipping the user about what
kind of data is being collected, and how.

Some commands, like "find-url" now have longer prompts than they did
before.  (Its prompt now reads "Find url in current buffer (enter URL):")
Other commands now have longer prompts, whereas before they had ambiguous
ones.  For example, the prompt of "shell-command-on-url" used to be
"Shell command:" but now it is "Shell command (enter URL):".

Browser object classes which had a label for no reason (because they do
not use a minibuffer prompt) have had their labels removed altogether.
modules/element.js
modules/follow-relationship.js
modules/page-modes/google-search-results.js