Bug 1517040 - use old xbl-richlistbox for cloudFileView list. rs=bustage-fix,jorgk
authorArshad Khan <arshdkhn1@gmail.com> and aceman <acelists@atlas.sk>
Fri, 04 Jan 2019 14:43:00 +0100
changeset 34117 150da20417f348570344f8f59c816bf0a09a9ecc
parent 34116 1cb168d17d1b89b99e2549d633e3db084362e56c
child 34118 49c5d6324673435bfc12a66b6c4570c1daf475b8
push id389
push userclokep@gmail.com
push dateMon, 18 Mar 2019 19:01:53 +0000
reviewersbustage-fix, jorgk
bugs1517040
Bug 1517040 - use old xbl-richlistbox for cloudFileView list. rs=bustage-fix,jorgk
mail/base/content/bindings.css
mail/components/preferences/aboutPreferences.xul
mail/components/preferences/applications.inc.xul
--- a/mail/base/content/bindings.css
+++ b/mail/base/content/bindings.css
@@ -86,8 +86,14 @@ textbox[type="number"] {
 
 spinbuttons {
   -moz-binding: url("chrome://messenger/content/spinbuttons.xml#spinbuttons");
 }
 
 .spinbuttons-button {
   -moz-user-focus: ignore;
 }
+
+xbl-richlistbox {
+  -moz-binding: url("chrome://messenger/content/richlistbox.xml#xbl-richlistbox");
+  -moz-user-focus: normal;
+  -moz-box-orient: vertical;
+}
--- a/mail/components/preferences/aboutPreferences.xul
+++ b/mail/components/preferences/aboutPreferences.xul
@@ -1,16 +1,17 @@
 <?xml version="1.0"?>
 # -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*-
 # 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/.
 
 <?xml-stylesheet href="chrome://global/skin/global.css"?>
 <?xml-stylesheet href="chrome://messenger/content/messenger.css"?>
+<?xml-stylesheet href="chrome://messenger/content/bindings.css"?>
 <?xml-stylesheet href="chrome://messenger/content/preferences/handlers.css"?>
 <?xml-stylesheet href="chrome://messenger/skin/filefield.css"?>
 <?xml-stylesheet href="chrome://messenger/skin/preferences/applications.css"?>
 <?xml-stylesheet href="chrome://messenger/skin/preferences/preferences.css"?>
 <?xml-stylesheet href="chrome://global/skin/in-content/common.css"?>
 <?xml-stylesheet href="chrome://messenger/skin/preferences/aboutPreferences.css"?>
 
 #include doctype.inc.xul
--- a/mail/components/preferences/applications.inc.xul
+++ b/mail/components/preferences/applications.inc.xul
@@ -149,19 +149,19 @@
                        preference="mail.compose.big_attachments.threshold_kb"
                        onsyncfrompreference="return gCloudFileTab.readThreshold();"
                        onsynctopreference="return gCloudFileTab.writeThreshold();"/>
               <label control="cloudFileThreshold"
                      value="&enableCloudFileAccountOffer.mb;"/>
             </hbox>
             <hbox flex="1">
               <vbox id="provider-listing">
-                <richlistbox id="cloudFileView" orient="vertical" flex="1"
+                <xbl-richlistbox id="cloudFileView" orient="vertical" flex="1"
                              seltype="single">
-                </richlistbox>
+                </xbl-richlistbox>
                 <separator class="thin"/>
                 <hbox>
                   <button id="addCloudFileAccount"
                           flex="1"
                           label="&addCloudFileAccount1.label;"
                           accesskey="&addCloudFileAccount1.accesskey;"
                           oncommand="gCloudFileTab.addCloudFileAccount();"/>
                   <button id="removeCloudFileAccount"