Fix for #48704 -> Adding print button to browser navigation toolbar. r=hangas.

This commit is contained in:
nbhatla%netscape.com 2000-08-16 03:08:02 +00:00
Родитель 551342ed33
Коммит add23100cc
2 изменённых файлов: 12 добавлений и 2 удалений

Просмотреть файл

@ -83,6 +83,7 @@ Contributor(s): ______________________________________. -->
<broadcaster id="canReload" oncommand="BrowserReallyReload(event);"/>
<broadcaster id="canPrint"/>
<broadcaster id="args" value=""/>
<broadcaster id="cmd_pageSetup"/>
</broadcasterset>
<!-- keys are appended from the overlay -->
@ -301,7 +302,15 @@ Contributor(s): ______________________________________. -->
<button class="button-toolbar-3 chromeclass-location" id="search-button" value="&searchButton.label;"
oncommand="OpenSearch('internet',false, document.getElementById('urlbar').value);"
tooltip="aTooltip" tooltiptext="&searchButton.tooltip;"/>
<button id="navigator-throbber" oncommand="goClickThrobber('browser.throbber.url')" tooltip="aTooltip" tooltiptext="&throbber.tooltip;"/>
<menubutton class="menubutton-dual toolbar" id="print-button" value="&printButton.label;"
crop="right" buttonaction="BrowserPrint()" tooltip="aTooltip" buttontooltiptext="&printButton.tooltip;">
<menupopup id="printMenu">
<menuitem value="&printCmd.label;" accesskey="&printCmd.accesskey;" oncommand="BrowserPrint()" default="true"/>
<menuitem observes="cmd_pageSetup" />
<menuitem value="&printPreviewCmd.label;" accesskey="&printPreviewCmd.accesskey;" disabled="true" oncommand="BrowserReload();"/>
</menupopup>
</menubutton>
<button id="navigator-throbber" oncommand="goClickThrobber('browser.throbber.url')" tooltip="aTooltip" tooltiptext="&throbber.tooltip;"/>
</box>
</toolbar>

Просмотреть файл

@ -315,6 +315,7 @@
<!ENTITY goButton.label "Go">
<!ENTITY goButton.tooltip "Type a location in the field to the left, then click Go">
<!ENTITY printButton.label "Print">
<!ENTITY printButton.tooltip "Print this page">
<!ENTITY throbber.tooltip "Go to the &vendorShortName; home page">