Bug 80120. Implementing tooltips on the toolbar's expand/collapse widgets. r=jglick/german/sspitzer/robinf/cmanske sr=sspitzer
This commit is contained in:
Родитель
92236ffdae
Коммит
3b91c06f5f
|
@ -123,7 +123,7 @@
|
|||
</keyset>
|
||||
|
||||
<toolbox class="toolbox-top" id="EditorToolbox">
|
||||
<menubar id="main-menubar" class="chromeclass-menubar" persist="collapsed">
|
||||
<menubar id="main-menubar" class="chromeclass-menubar" persist="collapsed" grippytooltip="aTooltip" grippytooltiptext="&menuBar.tooltip;">
|
||||
<menu id="fileMenu"/>
|
||||
<menu id="editMenu"/>
|
||||
|
||||
|
@ -168,7 +168,7 @@
|
|||
|
||||
<!-- toolbar filled out from editorOverlay -->
|
||||
<!-- add class="standard" for dark blue background (icons need rework first) -->
|
||||
<toolbar class="toolbar-primary" id="EditToolbar" persist="collapsed" tbalign="stretch">
|
||||
<toolbar class="toolbar-primary" id="EditToolbar" persist="collapsed" tbalign="stretch" grippytooltip="aTooltip" grippytooltiptext="&compositionToolbar.tooltip;">
|
||||
<toolbarbutton id="newButton"/>
|
||||
<toolbarbutton id="openButton"/>
|
||||
<toolbarbutton id="saveButton"/>
|
||||
|
@ -188,7 +188,7 @@
|
|||
</button>
|
||||
</hbox>
|
||||
</toolbar>
|
||||
<toolbar id="FormatToolbar" persist="collapsed" tbalign="center">
|
||||
<toolbar id="FormatToolbar" persist="collapsed" tbalign="center" grippytooltip="aTooltip" grippytooltiptext="&formatToolbar.tooltip;">
|
||||
<!-- We need this else menulists get stretched -->
|
||||
<hbox autostretch="never">
|
||||
<!-- from editorOverlay -->
|
||||
|
|
|
@ -557,6 +557,9 @@
|
|||
<!ENTITY setFocusCmd.label "Set Focus">
|
||||
|
||||
<!-- toolbar-only items -->
|
||||
<!ENTITY menuBar.tooltip "Menu Bar">
|
||||
<!ENTITY compositionToolbar.tooltip "Composition Toolbar">
|
||||
<!ENTITY formatToolbar.tooltip "Formatting Toolbar">
|
||||
<!ENTITY newToolbarCmd.tooltip "Create a new Composer page">
|
||||
<!ENTITY openToolbarCmd.label "Open">
|
||||
<!ENTITY openToolbarCmd.tooltip "Open a local file">
|
||||
|
|
|
@ -134,6 +134,8 @@
|
|||
</popup>
|
||||
</popupset>
|
||||
|
||||
<popupset id="aTooltipSet"/>
|
||||
|
||||
<popupset id="contextMenus">
|
||||
<popup id="userlistPopup" oncommand="onUserListPopupClick(event)">
|
||||
<menuitem label="&op.value;" accesskey="&op.accesskey;" code="/op" />
|
||||
|
@ -209,7 +211,7 @@
|
|||
</popupset>
|
||||
|
||||
<toolbox>
|
||||
<menubar id="main-menubar" persist="collapsed">
|
||||
<menubar id="main-menubar" persist="collapsed" grippytooltip="aTooltip" grippytooltiptext="&menuBar.tooltip;">
|
||||
<menu id="menu_File">
|
||||
<menupopup id="menu_FilePopup">
|
||||
<menu label="&OptionsCmd.label;">
|
||||
|
@ -397,7 +399,8 @@
|
|||
</vbox> <!-- outer-box -->
|
||||
|
||||
<toolbox id="status-bar-tbox" crop="right">
|
||||
<toolbar id="status-bar-tbar" class="chromeclass-status" persist="collapsed"
|
||||
<toolbar id="status-bar-tbar" class="chromeclass-status" persist="collapsed" grippytooltip="aTooltip"
|
||||
grippytooltiptext="&statusBar.tooltip;"
|
||||
crop="right">
|
||||
<hbox class="status-box" flex="20%" crop="right">
|
||||
<vbox class="status-label" crop="right">
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
<!ENTITY menuBar.tooltip "Menu Bar">
|
||||
<!ENTITY statusBar.tooltip "Status Bar">
|
||||
<!ENTITY op.value "Op">
|
||||
<!ENTITY op.accesskey "o">
|
||||
<!ENTITY deop.value "Deop">
|
||||
|
|
|
@ -114,7 +114,7 @@ Rights Reserved.
|
|||
</popupset>
|
||||
|
||||
<toolbox class="toolbox-top">
|
||||
<menubar id="ab-menubar">
|
||||
<menubar id="ab-menubar" grippytooltip="aTooltip" grippytooltiptext="&menuBar.tooltip;">
|
||||
<menu id="menu_File">
|
||||
<menupopup id="menu_FilePopup">
|
||||
<menuitem label="&newCard.label;" accesskey="&newCard.accesskey;" oncommand="AbNewCard()"/>
|
||||
|
@ -217,7 +217,7 @@ Rights Reserved.
|
|||
</menubar>
|
||||
|
||||
<!-- toolbar -->
|
||||
<toolbar class="toolbar-primary" id="abToolbar" persist="collapsed">
|
||||
<toolbar class="toolbar-primary" id="abToolbar" persist="collapsed" grippytooltip="aTooltip" grippytooltiptext="&addressbookToolbar.tooltip;">
|
||||
<hbox id="toolbar_button_box">
|
||||
<toolbarbutton class="toolbarbutton-1" id="button-newcard" label="&newcardButton.label;" tooltip="aTooltip" tooltiptext="&newcardButton.tooltip;" oncommand="AbNewCard();"/>
|
||||
<toolbarbutton class="toolbarbutton-1" id="button-newlist" label="&newlistButton.label;" tooltip="aTooltip" tooltiptext="&newlistButton.tooltip;" oncommand="AbNewList();"/>
|
||||
|
|
|
@ -91,6 +91,7 @@ Rights Reserved.
|
|||
<!ENTITY showNames.label "Show names containing:">
|
||||
|
||||
<!-- Tooltips -->
|
||||
<!ENTITY addressbookToolbar.tooltip "Address Book Toolbar">
|
||||
<!ENTITY newcardButton.tooltip "Create a new address book card">
|
||||
<!ENTITY newlistButton.tooltip "Create a new list">
|
||||
<!ENTITY editButton.tooltip "Edit the selected card">
|
||||
|
|
|
@ -762,7 +762,7 @@ Rights Reserved.
|
|||
|
||||
</popup>
|
||||
|
||||
<menubar id="mailMenubar">
|
||||
<menubar id="mailMenubar" grippytooltip="aTooltip" grippytooltiptext="&menuBar.tooltip;">
|
||||
<menu id="menu_File" >
|
||||
<menupopup id="menu_FilePopup" onpopupshowing="file_init();">
|
||||
<menuitem label="&newMsgCmd.label;"
|
||||
|
@ -1223,7 +1223,7 @@ Rights Reserved.
|
|||
</menubar>
|
||||
|
||||
<toolbox id="mailToolbarToolbox">
|
||||
<toolbar class="toolbar-primary chromeclass-toolbar" id="msgToolbar" persist="collapsed">
|
||||
<toolbar class="toolbar-primary chromeclass-toolbar" id="msgToolbar" persist="collapsed" grippytooltip="aTooltip" grippytooltiptext="&mailToolbar.tooltip;">
|
||||
<hbox id="toolbar_button_box">
|
||||
<toolbarbutton type="menu-button" id="button-getmsg"
|
||||
class="toolbarbutton-1"
|
||||
|
|
|
@ -398,6 +398,8 @@ Rights Reserved.
|
|||
<!ENTITY stopButton.label "Stop">
|
||||
|
||||
<!--Tooltips-->
|
||||
<!ENTITY menuBar.tooltip "Menu Bar">
|
||||
<!ENTITY mailToolbar.tooltip "Mail Toolbar">
|
||||
<!ENTITY getMsgButton.tooltip "Get new messages">
|
||||
<!ENTITY newMsgButton.tooltip "Create a new message">
|
||||
<!ENTITY replyButton.tooltip "Reply to the message">
|
||||
|
|
|
@ -178,7 +178,7 @@
|
|||
</popupset>
|
||||
|
||||
<toolbox class="toolbox-top">
|
||||
<menubar id="compose-menubar">
|
||||
<menubar id="compose-menubar" grippytooltip="aTooltip" grippytooltiptext="&menuBar.tooltip;">
|
||||
<menu id="menu_File">
|
||||
<menupopup id="menu_FilePopup">
|
||||
<menuitem label="&newMessage.label;" accesskey="&newMessage.accesskey;" key="key_newMessage" oncommand="goOpenNewMessage();"/>
|
||||
|
@ -353,7 +353,7 @@
|
|||
<menu id="menu_Help"/>
|
||||
</menubar>
|
||||
|
||||
<toolbar class="toolbar-primary chromeclass-toolbar" id="composeToolbar" persist="collapsed">
|
||||
<toolbar class="toolbar-primary chromeclass-toolbar" id="composeToolbar" persist="collapsed" grippytooltip="aTooltip" grippytooltiptext="&mailToolbar.tooltip;">
|
||||
<hbox id="toolbar_button_box">
|
||||
<toolbarbutton class="toolbarbutton-1"
|
||||
id="button-send" label="&sendButton.label;"
|
||||
|
@ -392,7 +392,7 @@
|
|||
</hbox>
|
||||
</toolbar>
|
||||
|
||||
<toolbar id="MsgHeadersToolbar" persist="collapsed" tborient="vertical" tbalign="stretch" flex="1">
|
||||
<toolbar id="MsgHeadersToolbar" persist="collapsed" tborient="vertical" tbalign="stretch" flex="1" grippytooltip="aTooltip" grippytooltiptext="&addressBar.tooltip;">
|
||||
<hbox id="msgheaderstoolbar-box" flex="1">
|
||||
<vbox flex="75">
|
||||
<hbox autostretch="never">
|
||||
|
@ -431,7 +431,7 @@
|
|||
</toolbar>
|
||||
|
||||
<!-- These toolbar items get filled out from the editorOverlay -->
|
||||
<toolbar id="FormatToolbar" persist="collapsed" tbautostretch="never">
|
||||
<toolbar id="FormatToolbar" persist="collapsed" tbautostretch="never" grippytooltip="aTooltip" grippytooltiptext="&formatToolbar.tooltip;">
|
||||
<menulist id="ParagraphSelect"/>
|
||||
<menulist id="FontFaceSelect"/>
|
||||
<stack id="ColorButtons"/>
|
||||
|
|
|
@ -170,6 +170,9 @@
|
|||
<!ENTITY stopButton.label "Stop">
|
||||
|
||||
<!--tooltips-->
|
||||
<!-- We already inherit &menuBar.tooltip and &mailToolbar.tooltip from messenger.dtd -->
|
||||
<!ENTITY addressBar.tooltip "Address Bar">
|
||||
<!ENTITY formatToolbar.tooltip "Formatting Toolbar">
|
||||
<!ENTITY sendButton.tooltip "Send this message now">
|
||||
<!ENTITY quoteButton.tooltip "Quote the previous message">
|
||||
<!ENTITY addressButton.tooltip "Select a recipient from an Address Book">
|
||||
|
|
Загрузка…
Ссылка в новой задаче