Bug 1593207 - Use arrow-left.svg from global after bug 1592396 moved it there. r=jorgk
authorRichard Marti <richard.marti@gmail.com>
Fri, 01 Nov 2019 12:35:15 +0100
changeset 37416 87b33ca47a7dd6e8df045468593ee1a5678b2404
parent 37415 faa5b18414e564b5df3751aad1f53e5be9e2ab83
child 37417 8aa9c7cbd3f94bb90393e5c4a3b34a27bc147d14
push id396
push userclokep@gmail.com
push dateMon, 06 Jan 2020 23:11:57 +0000
reviewersjorgk
bugs1593207, 1592396
Bug 1593207 - Use arrow-left.svg from global after bug 1592396 moved it there. r=jorgk
mail/themes/shared/customizableui/panelUI.css
mail/themes/shared/jar.inc.mn
mail/themes/shared/mail/icons/arrow-left.svg
mail/themes/shared/mail/tabmail.css
--- a/mail/themes/shared/customizableui/panelUI.css
+++ b/mail/themes/shared/customizableui/panelUI.css
@@ -1257,17 +1257,17 @@ toolbarpaletteitem[place="menu-panel"] >
 .panel-header > .subviewbutton-back + label {
   /* Add the size of the back button to center properly. */
   margin-inline-end: 32px;
 }
 
 .panel-header > .subviewbutton-back {
   -moz-context-properties: fill;
   fill: var(--arrowpanel-color);
-  list-style-image: url("chrome://messenger/skin/icons/arrow-left.svg");
+  list-style-image: url("chrome://global/skin/icons/arrow-left.svg");
   padding: 8px;
 }
 
 .subviewbutton-back:-moz-locale-dir(rtl) {
   transform: scaleX(-1);
 }
 
 .subviewbutton-back > .toolbarbutton-text {
--- a/mail/themes/shared/jar.inc.mn
+++ b/mail/themes/shared/jar.inc.mn
@@ -23,17 +23,16 @@
   skin/classic/messenger/icons/addon-install-warning.svg      (../shared/mail/icons/addon-install-warning.svg)
 #ifdef MOZ_UPDATER
   skin/classic/messenger/icons/app-update.svg                 (../shared/mail/icons/app-update.svg)
   skin/classic/messenger/icons/app-update-badge.svg           (../shared/mail/icons/app-update-badge.svg)
 #endif
   skin/classic/messenger/icons/appbutton.svg                  (../shared/mail/icons/appbutton.svg)
   skin/classic/messenger/icons/archive.svg                    (../shared/mail/icons/archive.svg)
   skin/classic/messenger/icons/arrow-dropdown.svg             (../shared/mail/icons/arrow-dropdown.svg)
-  skin/classic/messenger/icons/arrow-left.svg                 (../shared/mail/icons/arrow-left.svg)
   skin/classic/messenger/icons/back-12.svg                    (../shared/mail/icons/back-12.svg)
   skin/classic/messenger/icons/attach.svg                     (../shared/mail/icons/attach.svg)
   skin/classic/messenger/icons/attachment-col.svg             (../shared/mail/icons/attachment-col.svg)
   skin/classic/messenger/icons/blacklist.svg                  (../shared/mail/icons/blacklist.svg)
   skin/classic/messenger/icons/cert-error.svg                 (../shared/mail/icons/cert-error.svg)
   skin/classic/messenger/icons/chat.svg                       (../shared/mail/icons/chat.svg)
   skin/classic/messenger/icons/checkbox.svg                   (../shared/mail/icons/checkbox.svg)
   skin/classic/messenger/icons/copy.svg                       (../shared/mail/icons/copy.svg)
deleted file mode 100644
--- a/mail/themes/shared/mail/icons/arrow-left.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-<!-- 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/. - Make it different from toolkit version, bug 1593207 -->
-<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16">
-  <path fill="context-fill" fill-opacity="context-fill-opacity" d="M6.414 8l4.293-4.293a1 1 0 0 0-1.414-1.414l-5 5a1 1 0 0 0 0 1.414l5 5a1 1 0 0 0 1.414-1.414z"/>
-</svg>
--- a/mail/themes/shared/mail/tabmail.css
+++ b/mail/themes/shared/mail/tabmail.css
@@ -249,17 +249,17 @@
 
 /**
  * Tab Scrollbox Arrow Buttons
  */
 
 .tabmail-arrowscrollbox::part(scrollbutton-up),
 .tabmail-arrowscrollbox::part(scrollbutton-down) {
   color: inherit;
-  list-style-image: url("chrome://messenger/skin/icons/arrow-left.svg") !important;
+  list-style-image: url("chrome://global/skin/icons/arrow-left.svg") !important;
   -moz-context-properties: fill, fill-opacity;
   fill: var(--lwt-toolbarbutton-icon-fill, currentColor);
   fill-opacity: var(--toolbarbutton-icon-fill-opacity);
 }
 
 .tabmail-arrowscrollbox:-moz-locale-dir(rtl)::part(scrollbutton-up),
 .tabmail-arrowscrollbox:-moz-locale-dir(ltr)::part(scrollbutton-down) {
   transform: scaleX(-1);