mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 05:15:45 +00:00
Bug 1498186 - Add a 'Task Manager' item opening about:performance in the 'More' section of the application menu, r=felipe.
This commit is contained in:
parent
f953b97c5e
commit
477b5b6aa2
@ -633,6 +633,10 @@
|
||||
|
||||
<panelview id="appMenu-moreView" title="&moreMenu.label;" class="PanelUI-subView">
|
||||
<vbox class="panel-subview-body">
|
||||
<toolbarbutton id="appMenu-taskmanager-button"
|
||||
class="subviewbutton subviewbutton-iconic"
|
||||
label="&taskManagerCmd.label;"
|
||||
oncommand="switchToTabHavingURI('about:performance', true)"/>
|
||||
<toolbarbutton id="appMenu-characterencoding-button"
|
||||
class="subviewbutton subviewbutton-nav"
|
||||
label="&charsetMenu2.label;"
|
||||
|
@ -121,6 +121,8 @@ when there are no windows but Firefox is still running. -->
|
||||
<!ENTITY printCmd.accesskey "P">
|
||||
<!ENTITY printCmd.commandkey "p">
|
||||
|
||||
<!ENTITY taskManagerCmd.label "Task Manager">
|
||||
|
||||
<!ENTITY goOfflineCmd.label "Work Offline">
|
||||
<!ENTITY goOfflineCmd.accesskey "k">
|
||||
|
||||
|
7
browser/themes/shared/icons/performance.svg
Normal file
7
browser/themes/shared/icons/performance.svg
Normal file
@ -0,0 +1,7 @@
|
||||
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
||||
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
||||
<path fill="context-fill" d="M8 1a8 8 0 0 0-8 8 7.89 7.89 0 0 0 .78 3.43 1 1 0 0 0 .9.57.94.94 0 0 0 .43-.1 1 1 0 0 0 .47-1.33A6.07 6.07 0 0 1 2 9a6 6 0 0 1 12 0 5.93 5.93 0 0 1-.59 2.57 1 1 0 0 0 1.81.86A7.89 7.89 0 0 0 16 9a8 8 0 0 0-8-8z"/>
|
||||
<path fill="context-fill" d="M11.77 7.08a.5.5 0 0 0-.69.15L8.62 11.1A2.12 2.12 0 0 0 8 11a2 2 0 0 0 0 4 2.05 2.05 0 0 0 1.12-.34 2.31 2.31 0 0 0 .54-.54 2 2 0 0 0 0-2.24 2.31 2.31 0 0 0-.2-.24l2.46-3.87a.5.5 0 0 0-.15-.69z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 754 B |
@ -164,6 +164,7 @@
|
||||
skin/classic/browser/new-window.svg (../shared/icons/new-window.svg)
|
||||
skin/classic/browser/open.svg (../shared/icons/open.svg)
|
||||
skin/classic/browser/page-action.svg (../shared/icons/page-action.svg)
|
||||
skin/classic/browser/performance.svg (../shared/icons/performance.svg)
|
||||
skin/classic/browser/print.svg (../shared/icons/print.svg)
|
||||
skin/classic/browser/private-browsing.svg (../shared/icons/private-browsing.svg)
|
||||
skin/classic/browser/privateBrowsing.svg (../shared/icons/privateBrowsing.svg)
|
||||
|
@ -33,6 +33,10 @@
|
||||
list-style-image: url(chrome://browser/skin/search-glass.svg);
|
||||
}
|
||||
|
||||
#appMenu-taskmanager-button {
|
||||
list-style-image: url("chrome://browser/skin/performance.svg");
|
||||
}
|
||||
|
||||
#appMenu-help-button {
|
||||
list-style-image: url(chrome://global/skin/icons/help.svg);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user