Mercurial > snowl
changeset 313:7dbc8df71d14
add explanatory text to the search textbox (this only works in Firefox 3.1 nightlies)
author | Myk Melez <myk@mozilla.org> |
---|---|
date | Thu, 09 Oct 2008 14:18:16 -0700 |
parents | c40343289e5b |
children | 53437e167bd1 |
files | content/river.xul locale/en-US/river.dtd |
diffstat | 2 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/content/river.xul Thu Oct 09 14:16:51 2008 -0700 +++ b/content/river.xul Thu Oct 09 14:18:16 2008 -0700 @@ -83,10 +83,13 @@ <spacer flex="1"/> + <!-- FIXME: change type="timed" to type="search" once we no longer + - support Firefox 3.0 --> <textbox id="filterTextbox" type="timed" timeout="200" - oncommand="SnowlMessageView.onFilter(event)"/> + emptytext="&filterTextbox.emptytext;" + oncommand="SnowlMessageView.onFilter(event)"/> </toolbar> - + <stack id="contentStack" flex="1"> <scrollbox id="scrollBox" style="overflow: auto;"
--- a/locale/en-US/river.dtd Thu Oct 09 14:16:51 2008 -0700 +++ b/locale/en-US/river.dtd Thu Oct 09 14:18:16 2008 -0700 @@ -3,3 +3,4 @@ <!ENTITY bodyButton.tooltip "Show message summaries/content."> <!ENTITY orderButton.tooltip "Reverse the order of the messages."> <!ENTITY columnsButton.tooltip "Show the messages in columns."> +<!ENTITY filterTextbox.emptytext "Search Messages">