Bug 1584720 - follow-up to bug 1534913 to let search-textbox have a context menu. r+a=jorgk
authorMagnus Melin <mkmelin+mozilla@iki.fi>
Sat, 28 Sep 2019 23:31:54 +0200
changeset 35897 14446bb374d328ba3eb8b403b11dbfd69d8f48e9
parent 35896 473844ac508f35cee4f3b2c457dfc9bf7fc4cf6c
child 35898 42ed08c599dfb41a076d21e5d2cd37023b9e99cd
push id36
push usermozilla@jorgk.com
push dateSun, 29 Sep 2019 20:32:49 +0000
treeherdercomm-esr68@aded7ab29145 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1584720, 1534913
Bug 1584720 - follow-up to bug 1534913 to let search-textbox have a context menu. r+a=jorgk
mail/base/content/FilterListDialog.xul
mail/components/downloads/content/aboutDownloads.xul
--- a/mail/base/content/FilterListDialog.xul
+++ b/mail/base/content/FilterListDialog.xul
@@ -18,16 +18,18 @@
   windowtype="mailnews:filterlist"
   style="width: 45em; height: 31em;"
   onload="onLoad();"
   onunload="onFilterUnload();"
   onclose="return onFilterClose();"
   persist="width height screenX screenY"
   title="&window.title;">
 
+  <script src="chrome://global/content/globalOverlay.js"/>
+  <script src="chrome://global/content/editMenuOverlay.js"/>
   <script src="chrome://messenger/content/button-menu-button.js"/>
   <script src="chrome://messenger/content/searchWidgets.js"/>
   <script src="chrome://messenger/content/FilterListDialog.js"/>
   <script src="chrome://messenger/content/customElements.js"/>
   <stringbundleset id="stringbundleset">
     <stringbundle id="bundle_filter" src="chrome://messenger/locale/filter.properties"/>
     <stringbundle id="bundle_brand" src="chrome://branding/locale/brand.properties"/>
   </stringbundleset>
@@ -50,17 +52,17 @@
                  showFileHereLabel="true"
                  showAccountsFileHere="true"
                  oncommand="setFilterFolder(event.target._folder);"/>
     </menulist>
     <textbox is="search-textbox" id="searchBox"
              class="searchBox"
              flex="1"
              oncommand="rebuildFilterList();"
-             emptytext="&searchBox.emptyText;"
+             placeholder="&searchBox.emptyText;"
              isempty="true"/>
   </hbox>
   <separator class="thin"/>
   <hbox id="filterListGrid" flex="1">
     <vbox flex="1">
       <hbox>
         <label id="filterListLabel" control="filterList" flex="1">
           &filterHeader.label;
--- a/mail/components/downloads/content/aboutDownloads.xul
+++ b/mail/components/downloads/content/aboutDownloads.xul
@@ -15,16 +15,17 @@
 <window id="aboutDownloads"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:html="http://www.w3.org/1999/xhtml"
         xmlns:xhtml="http://www.w3.org/1999/xhtml"
         title="&aboutDownloads.title;"
         onload="DownloadsView.init();">
   <xhtml:link rel="shortcut icon"
               href="chrome://messenger/skin/downloads/download.svg"/>
   <script src="chrome://global/content/globalOverlay.js"/>
+  <script src="chrome://global/content/editMenuOverlay.js"/>
   <script src="chrome://messenger/content/downloads/aboutDownloads.js"/>
 
   <commandset id="msgDownloadCommands"
               commandupdater="true"
               events="focus,select,contextmenu">
     <command id="msgDownloadsCmd_open"
              oncommand="goDoCommand('msgDownloadsCmd_open')"/>
     <command id="msgDownloadsCmd_show"