зеркало из https://github.com/mozilla/pjs.git
Fix for #48704 -> Adding print button to browser navigation toolbar. r=hangas.
This commit is contained in:
Родитель
551342ed33
Коммит
add23100cc
|
@ -83,6 +83,7 @@ Contributor(s): ______________________________________. -->
|
||||||
<broadcaster id="canReload" oncommand="BrowserReallyReload(event);"/>
|
<broadcaster id="canReload" oncommand="BrowserReallyReload(event);"/>
|
||||||
<broadcaster id="canPrint"/>
|
<broadcaster id="canPrint"/>
|
||||||
<broadcaster id="args" value=""/>
|
<broadcaster id="args" value=""/>
|
||||||
|
<broadcaster id="cmd_pageSetup"/>
|
||||||
</broadcasterset>
|
</broadcasterset>
|
||||||
|
|
||||||
<!-- keys are appended from the overlay -->
|
<!-- 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;"
|
<button class="button-toolbar-3 chromeclass-location" id="search-button" value="&searchButton.label;"
|
||||||
oncommand="OpenSearch('internet',false, document.getElementById('urlbar').value);"
|
oncommand="OpenSearch('internet',false, document.getElementById('urlbar').value);"
|
||||||
tooltip="aTooltip" tooltiptext="&searchButton.tooltip;"/>
|
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>
|
</box>
|
||||||
</toolbar>
|
</toolbar>
|
||||||
|
|
||||||
|
|
|
@ -315,6 +315,7 @@
|
||||||
<!ENTITY goButton.label "Go">
|
<!ENTITY goButton.label "Go">
|
||||||
<!ENTITY goButton.tooltip "Type a location in the field to the left, then click Go">
|
<!ENTITY goButton.tooltip "Type a location in the field to the left, then click Go">
|
||||||
<!ENTITY printButton.label "Print">
|
<!ENTITY printButton.label "Print">
|
||||||
|
<!ENTITY printButton.tooltip "Print this page">
|
||||||
|
|
||||||
<!ENTITY throbber.tooltip "Go to the &vendorShortName; home page">
|
<!ENTITY throbber.tooltip "Go to the &vendorShortName; home page">
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче