Bug 1445197 - part 2: Add a temporary icon for the application panel;r=sole draft
authorJulian Descottes <jdescottes@mozilla.com>
Wed, 21 Mar 2018 11:40:56 +0100
changeset 785644 419901fa6c9d503d460b878f555e1ef40cc19208
parent 785643 d7a8bdf5c58a485d8fdbc6d28a97edec1d1a12be
child 785645 adb4dcdd2237270fb5ae5162879128fae7daa946
child 785649 a36c31ece12b53481edf63e178d64bf00bb9b6aa
push id107291
push userjdescottes@mozilla.com
push dateFri, 20 Apr 2018 15:42:35 +0000
reviewerssole
bugs1445197
milestone61.0a1
Bug 1445197 - part 2: Add a temporary icon for the application panel;r=sole Basic icon to display something while we wait for a better icon to replace it. MozReview-Commit-ID: 2BT6jqLrd95
devtools/client/definitions.js
devtools/client/jar.mn
devtools/client/themes/images/tool-application.svg
--- a/devtools/client/definitions.js
+++ b/devtools/client/definitions.js
@@ -444,16 +444,17 @@ Tools.accessibility = {
     return new AccessibilityPanel(iframeWindow, toolbox);
   }
 };
 
 Tools.application = {
   id: "application",
   ordinal: 15,
   visibilityswitch: "devtools.application.enabled",
+  icon: "chrome://devtools/skin/images/tool-application.svg",
   url: "chrome://devtools/content/application/index.html",
   label: "Application",
   panelLabel: "Application",
   tooltip: "Application",
   inMenu: false,
   hiddenInOptions: true,
 
   isTargetSupported: function(target) {
--- a/devtools/client/jar.mn
+++ b/devtools/client/jar.mn
@@ -218,16 +218,17 @@ devtools.jar:
     skin/images/tool-storage.svg (themes/images/tool-storage.svg)
     skin/images/tool-profiler.svg (themes/images/tool-profiler.svg)
     skin/images/tool-network.svg (themes/images/tool-network.svg)
     skin/images/tool-scratchpad.svg (themes/images/tool-scratchpad.svg)
     skin/images/tool-webaudio.svg (themes/images/tool-webaudio.svg)
     skin/images/tool-memory.svg (themes/images/tool-memory.svg)
     skin/images/tool-dom.svg (themes/images/tool-dom.svg)
     skin/images/tool-accessibility.svg (themes/images/tool-accessibility.svg)
+    skin/images/tool-application.svg (themes/images/tool-application.svg)
     skin/images/close.svg (themes/images/close.svg)
     skin/images/clear.svg (themes/images/clear.svg)
     skin/images/vview-delete.png (themes/images/vview-delete.png)
     skin/images/vview-delete@2x.png (themes/images/vview-delete@2x.png)
     skin/images/vview-edit.png (themes/images/vview-edit.png)
     skin/images/vview-edit@2x.png (themes/images/vview-edit@2x.png)
     skin/images/vview-lock.png (themes/images/vview-lock.png)
     skin/images/vview-lock@2x.png (themes/images/vview-lock@2x.png)
new file mode 100644
--- /dev/null
+++ b/devtools/client/themes/images/tool-application.svg
@@ -0,0 +1,16 @@
+<!-- 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 width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" stroke="context-fill #0b0b0b">
+  <rect x="1.5" y="1.5" width="3" height="3" fill="transparent" stroke-width="1"/>
+  <rect x="6.5" y="1.5" width="3" height="3" fill="transparent" stroke-width="1"/>
+  <rect x="11.5" y="1.5" width="3" height="3" fill="transparent" stroke-width="1"/>
+
+  <rect x="1.5" y="6.5" width="3" height="3" fill="transparent" stroke-width="1"/>
+  <rect x="6.5" y="6.5" width="3" height="3" fill="transparent" stroke-width="1"/>
+  <rect x="11.5" y="6.5" width="3" height="3" fill="transparent" stroke-width="1"/>
+
+  <rect x="1.5" y="11.5" width="3" height="3" fill="transparent" stroke-width="1"/>
+  <rect x="6.5" y="11.5" width="3" height="3" fill="transparent" stroke-width="1"/>
+  <rect x="11.5" y="11.5" width="3" height="3" fill="transparent" stroke-width="1"/>
+</svg>
\ No newline at end of file