add tooltips. fixes 31807.

git-svn-id: svn://10.0.0.236/trunk@69149 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
putterman%netscape.com 2000-05-11 02:52:07 +00:00
parent a41563a355
commit c14b641f3a
10 changed files with 52 additions and 18 deletions

View File

@ -24,6 +24,7 @@ Rights Reserved.
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
<?xul-overlay href="chrome://messenger/content/addressbook/abDirTreeOverlay.xul"?>
<?xul-overlay href="chrome://messenger/content/addressbook/abResultsTreeOverlay.xul"?>
<?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
<!DOCTYPE window SYSTEM "chrome://messenger/locale/addressbook/abSelectAddressesDialog.dtd">
@ -45,6 +46,7 @@ Rights Reserved.
<keyset id="keyset"/>
<popupset id="aTooltipSet"/>
<!-- Thin box across top, show names containing & stop, search buttons -->
<box align="horizontal" style="padding:0px; padding-top:2px; padding-bottom:2px">
@ -55,7 +57,7 @@ Rights Reserved.
<button id="stop" value="&stopButton.label;" class="dialog" disabled="true" oncommand="SelectAddressStopButton()"/>
<spring style="width:5px"/>
<button id="search" value="&searchButton.label;" class="dialog" disabled="true" oncommand="SelectAddressSearchButton()"/>
<button id="search" value="&searchButton.label;" class="dialog" disabled="true" tooltip="aTooltip" tooltiptext="&addressPickerSearchButton.tooltip;" oncommand="SelectAddressSearchButton()"/>
</box>
<!-- Main box, 3 pane and majority of buttons -->
@ -109,9 +111,9 @@ Rights Reserved.
<box align="vertical" style="padding: .5em; padding-right: 0px">
<box align="vertical" flex="50%">
<spring style="height:10px"/>
<button id="new" value="&newButton.label;" class="dialog" oncommand="AbNewCard()"/>
<button id="new" value="&newButton.label;" class="dialog" tooltip="aTooltip" tooltiptext="&addressPickerNewButton.tooltip;" oncommand="AbNewCard()"/>
<spring style="height:10px"/>
<button id="edit" value="&editButton.label;" class="dialog" oncommand="AbEditCard()"/>
<button id="edit" value="&editButton.label;" class="dialog" tooltip="aTooltip" tooltiptext="&addressPickerEditButton.tooltip;" oncommand="AbEditCard()"/>
<spring flex="100%"/>
</box>
<box align="vertical" flex="50%">

View File

@ -34,3 +34,9 @@ Rights Reserved.
<!-- Toolbar items -->
<!ENTITY search.label "Show names containing:">
<!-- Tooltips items -->
<!ENTITY addressPickerSearchButton.tooltip "Search address books">
<!ENTITY addressPickerNewButton.tooltip "Create a new address book card">
<!ENTITY addressPickerEditButton.tooltip "Edit the selected address book card">

View File

@ -2,6 +2,7 @@
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://communicator/skin/pref/pref.css" type="text/css"?>
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
<?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
<!DOCTYPE window SYSTEM "chrome://messenger/locale/pref-viewing_messages.dtd">
@ -10,6 +11,7 @@
class="color-dialog"
onload="parent.initPanel('chrome://messenger/content/pref-viewing_messages.xul');"
orient="vertical">
<popupset id="aTooltipSet"/>
<script language="javascript">
<![CDATA[
@ -110,10 +112,10 @@
prefattribute="checked"/>
<checkbox id="displayGlyph" value="&convertEmoticons.label;" accesskey="&convertEmoticons.accesskey;"
pref="true" preftype="bool" prefstring="mail.display_glyph"
prefattribute="checked"/>
prefattribute="checked" tooltip="aTooltip" tooltiptext="&convertEmoticons.tooltip;"/>
<checkbox id="displayStruct" value="&convertStructs.label;" accesskey="&convertStructs.accesskey;"
pref="true" preftype="bool" prefstring="mail.display_struct"
prefattribute="checked"/>
prefattribute="checked" tooltip="aTooltip" tooltiptext="&convertStructs.tooltip;"/>
</titledbox>

View File

@ -48,3 +48,9 @@ Rights Reserved.
<!ENTITY convertEmoticons.accesskey "c">
<!ENTITY convertStructs.label "Add HTML styles to structured phrases. For example, format text contained within asterisks as bold.">
<!ENTITY convertStructs.accesskey "s">
<!-- Tooltips -->
<!ENTITY convertEmoticons.tooltip "Convert Emoticons">
<!ENTITY convertStructs.tooltip "Convert Structs">

View File

@ -150,6 +150,11 @@ function AddDataSources()
//To FileButton menu
SetupMoveCopyMenus('FileButtonMenu', accountManagerDataSource, folderDataSource);
//To move and copy menus in message pane context
SetupMoveCopyMenus("messagePaneContext-copyMenu", accountManagerDataSource, folderDataSource);
SetupMoveCopyMenus("messagePaneContext-moveMenu", accountManagerDataSource, folderDataSource);
//Add statusFeedback
var msgDS = folderDataSource.QueryInterface(Components.interfaces.nsIMsgRDFDataSource);

View File

@ -747,15 +747,15 @@ END of Deprecated -->
<toolbox id="mailToolbarToolbox">
<toolbar class="toolbar-primary chromeclass-toolbar" id="msgToolbar" persist="collapsed">
<box id="toolbar_button_box">
<button class="button-toolbar-2 top" id="button-getmsg" value="&getMsgButton.label;" tooltiptext="&getMsgButton.tooltip;" onclick="MsgGetMessage()"/>
<button class="button-toolbar-2 top" id="button-newmsg" value="&newMsgButton.label;" tooltiptext="&newMsgButton.tooltip;" onclick="MsgNewMessage(event)"/>
<button class="button-toolbar-2 top" id="button-getmsg" value="&getMsgButton.label;" tooltip="aTooltip" tooltiptext="&getMsgButton.tooltip;" onclick="MsgGetMessage()"/>
<button class="button-toolbar-2 top" id="button-newmsg" value="&newMsgButton.label;" tooltip="aTooltip" tooltiptext="&newMsgButton.tooltip;" onclick="MsgNewMessage(event)"/>
<toolbarseparator/>
<button class="button-toolbar-2 top" id="button-reply" value="&replyButton.label;" tooltiptext="&replyButton.tooltip;" observes="button_reply" onclick="MsgReplyMessage(event)"/>
<button class="button-toolbar-2 top" id="button-replyall" value="&replyAllButton.label;" tooltiptext="&replyAllButton.tooltip;" observes="button_replyall" onclick="MsgReplyToAllMessage(event)"/>
<button class="button-toolbar-2 top" id="button-forward" value="&forwardButton.label;" tooltiptext="&forwardButton.tooltip;" observes="button_forward" onclick="MsgForwardMessage(event)"/>
<button class="button-toolbar-2 top" id="button-reply" value="&replyButton.label;" tooltip="aTooltip" tooltiptext="&replyButton.tooltip;" observes="button_reply" onclick="MsgReplyMessage(event)"/>
<button class="button-toolbar-2 top" id="button-replyall" value="&replyAllButton.label;" tooltip="aTooltip" tooltiptext="&replyAllButton.tooltip;" observes="button_replyall" onclick="MsgReplyToAllMessage(event)"/>
<button class="button-toolbar-2 top" id="button-forward" value="&forwardButton.label;" tooltip="aTooltip" tooltiptext="&forwardButton.tooltip;" observes="button_forward" onclick="MsgForwardMessage(event)"/>
<toolbarseparator/>
<menu id="FileButtonMenu" datasources="rdf:null" rdf:ignore="http://home.netscape.com/NC-rdf#MessageChild">
<button class="button-toolbar-2 top" id="button-file" value="&fileButton.label;" tooltiptext="&fileButton.tooltip;"/>
<button class="button-toolbar-2 top" id="button-file" value="&fileButton.label;" tooltip="aTooltip" tooltiptext="&fileButton.tooltip;"/>
<template>
<rule nc:CanFileMessages="true" iscontainer="true" isempty="false">
<menupopup>
@ -803,10 +803,10 @@ END of Deprecated -->
</template>
<menupopup/>
</menu>
<button class="button-toolbar-2 top" id="button-next" value="&nextButton.label;" tooltiptext="&nextButton.tooltip;" onclick="MsgNextUnreadMessage()"/>
<button class="button-toolbar-2 top" id="button-delete" value="&deleteButton.label;" tooltiptext="&deleteButton.tooltip;" observes="button_delete" onclick="goDoCommand('button_delete')"/>
<button class="button-toolbar-2 top" id="button-print" value="&printButton.label;" tooltiptext="&printButton.tooltip;" onclick="PrintEnginePrint()"/>
<button class="button-toolbar-2 top" id="button-stop" value="&stopButton.label;" tooltiptext="&stopButton.tooltip;" onclick="MsgStop();"/>
<button class="button-toolbar-2 top" id="button-next" value="&nextButton.label;" tooltip="aTooltip" tooltiptext="&nextButton.tooltip;" onclick="MsgNextUnreadMessage()"/>
<button class="button-toolbar-2 top" id="button-delete" value="&deleteButton.label;" tooltip="aTooltip" tooltiptext="&deleteButton.tooltip;" observes="button_delete" onclick="goDoCommand('button_delete')"/>
<button class="button-toolbar-2 top" id="button-print" value="&printButton.label;" tooltip="aTooltip" tooltiptext="&printButton.tooltip;" onclick="PrintEnginePrint()"/>
<button class="button-toolbar-2 top" id="button-stop" value="&stopButton.label;" tooltip="aTooltip" tooltiptext="&stopButton.tooltip;" onclick="MsgStop();"/>
<spring flex="100%"/>
</box>
<button class="plain" id="navigator-throbber" oncommand='goClickThrobber("messenger.throbber.url")'/>

View File

@ -107,7 +107,7 @@ Rights Reserved.
<treehead>
<treerow id="headRow">
<treecell display="Thread" onclick="return top.ChangeThreadView();" class="treecell-header treecell-inset-header threadColumnHeader" id="ThreadColumnHeader"/>
<treecell display="Thread" onclick="return top.ChangeThreadView();" class="treecell-header treecell-inset-header threadColumnHeader" tooltip="aTooltip" tooltiptext="&threadColumnHeader.tooltip;" id="ThreadColumnHeader"/>
<treecell class="treecell-header treecell-inset-header" value="&subjectColumn.label;" onclick="return top.MsgSortBySubject();"/>
<treecell class="treecell-header treecell-inset-header" onclick="return top.MsgSortBySender();" value="&senderColumn.label;" id="SenderColumnHeader"/>
<treecell class="treecell-header treecell-inset-header readColumnHeader" display="Read" onclick="return top.MsgSortByRead();"/>
@ -119,7 +119,7 @@ Rights Reserved.
<treecell class="treecell-header treecell-inset-header" value="&unreadColumn.label;" onclick="return top.MsgSortByUnread();"/>
<treecell class="treecell-header treecell-inset-header" value="&totalColumn.label;" onclick="return top.MsgSortByTotal();"/>
<treecell class="treecell-header treecell-inset-header" value="&orderReceivedColumn.label;" onclick="return top.MsgSortByOrderReceived();"/>
<treecell class="treecell-header treecell-inset-header" allowevents="true" id="popupCell">
<treecell class="treecell-header treecell-inset-header" allowevents="true" id="popupCell" tooltip="aTooltip" tooltiptext="&columnChooser.tooltip;">
<menu>
<button src="chrome://global/skin/opentwisty.gif"/>
<menupopup popupanchor="bottomright"

View File

@ -28,3 +28,9 @@ Rights Reserved.
<!ENTITY unreadColumn.label "Unread">
<!ENTITY totalColumn.label "Total">
<!ENTITY orderReceivedColumn.label "Order Received">
<!--Tooltips-->
<!ENTITY threadColumnHeader.tooltip "Threads">
<!ENTITY columnChooser.tooltip "Press this to choose columns">

View File

@ -2,6 +2,7 @@
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://communicator/skin/pref/pref.css" type="text/css"?>
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
<?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
<!DOCTYPE window SYSTEM "chrome://messenger/locale/messengercompose/pref-composing_messages.dtd">
@ -10,6 +11,8 @@
onload="parent.initPanel('chrome://messenger/content/messengercompose/pref-composing_messages.xul');"
orient="vertical"
class="color-dialog">
<popupset id="aTooltipSet"/>
<script language="JavaScript">
<![CDATA[
@ -80,7 +83,7 @@
prefattribute="checked"/>
<checkbox id="sendStruct" value="&convertStructs.label;" accesskey="&convertStructs.accesskey;"
pref="true" preftype="bool" prefstring="mail.send_struct"
prefattribute="checked"/>
prefattribute="checked" tooltip="aTooltip" tooltiptext="&convertStructs.tooltip;"/>
<box autostretch="never">
<text class="label" value="&sendDefaultCharset.label;" for="sendDefaultCharsetList"/>

View File

@ -62,3 +62,7 @@ Rights Reserved.
<!ENTITY useMIME.accesskey "m">
<!ENTITY sendDefaultCharset.label "Default Character Coding:">
<!-- Tooltips -->
<!ENTITY convertStructs.tooltip "Convert Structs">