Bug 347249 - QuickFind Link/Text Visual Distinction. r=gavin, ui-r=mconnor.

This commit is contained in:
mozilla.mano%sent.com 2006-12-06 23:24:26 +00:00
parent 484b955348
commit 68acf6d941
2 changed files with 9 additions and 2 deletions

View File

@ -694,6 +694,8 @@
stringsBundle.GetStringFromName("NormalFindLabel");
this._fastFindStr =
stringsBundle.GetStringFromName("FastFindLabel");
this._fastFindLinksStr =
stringsBundle.GetStringFromName("FastFindLinksLabel");
this._caseSensitiveStr =
stringsBundle.GetStringFromName("CaseSensitive");
}
@ -1046,8 +1048,12 @@
nodes[i].hidden = showMinimalUI;
}
this.getElement("find-label").value = showMinimalUI ?
this._fastFindStr : this._normalFindStr;
if (this._findMode == this.FIND_TYPEAHEAD)
this.getElement("find-label").value = this._fastFindStr;
else if (this._findMode == this.FIND_LINKS)
this.getElement("find-label").value = this._fastFindLinksStr;
else
this.getElement("find-label").value = this._normalFindStr;
]]></body>
</method>

View File

@ -4,4 +4,5 @@ WrappedToTop=Reached end of page, continued from top
WrappedToBottom=Reached top of page, continued from bottom
NormalFindLabel=Find:
FastFindLabel=Quick Find:
FastFindLinksLabel=Quick Find (links only):
CaseSensitive=(Case sensitive)