Bug 1438334 - Remove unneeded checkForUpdatesButton in some cases in the Prefs Update pane. r=jorgk a=jorgk
authorRichard Marti <richard.marti@gmail.com>
Sat, 17 Feb 2018 11:46:05 +0100
changeset 30085 5a0ac769b0ddb7b35c85fd887fc81d270915bae1
parent 30084 9fda3356b09429b382dfa9a92018fae7c5200ecf
child 30086 6e229daf13cc2713c2e8af857bda63c430164558
push id2131
push usermozilla@jorgk.com
push dateTue, 27 Feb 2018 15:50:47 +0000
treeherdercomm-beta@6e229daf13cc [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjorgk, jorgk
bugs1438334
Bug 1438334 - Remove unneeded checkForUpdatesButton in some cases in the Prefs Update pane. r=jorgk a=jorgk
mail/components/preferences/advanced.xul
--- a/mail/components/preferences/advanced.xul
+++ b/mail/components/preferences/advanced.xul
@@ -444,48 +444,36 @@ type="bool"/>
                   <label>&update.failed.start;</label><label id="failedLink" class="text-link">&update.failed.linkText;</label><label>&update.failed.end;</label>
                   <spacer flex="1"/>
                   <button label="&update.checkForUpdatesButton.label;"
                           accesskey="&update.checkForUpdatesButton.accesskey;"
                           oncommand="gAppUpdater.checkForUpdates();"/>
                 </hbox>
                 <hbox id="adminDisabled" align="center">
                   <label>&update.adminDisabled;</label>
-                  <spacer flex="1"/>
-                  <button label="&update.checkForUpdatesButton.label;"
-                          accesskey="&update.checkForUpdatesButton.accesskey;"
-                          disabled="true"/>
                 </hbox>
                 <hbox id="noUpdatesFound" align="center">
                   <label>&update.noUpdatesFound;</label>
                   <spacer flex="1"/>
                   <button label="&update.checkForUpdatesButton.label;"
                           accesskey="&update.checkForUpdatesButton.accesskey;"
                           oncommand="gAppUpdater.checkForUpdates();"/>
                 </hbox>
                 <hbox id="otherInstanceHandlingUpdates" align="center">
                   <label>&update.otherInstanceHandlingUpdates;</label>
-                  <spacer flex="1"/>
-                  <button label="&update.checkForUpdatesButton.label;"
-                          accesskey="&update.checkForUpdatesButton.accesskey;"
-                          disabled="true"/>
                 </hbox>
                 <hbox id="manualUpdate" align="center">
                   <label>&update.manual.start;</label><label id="manualLink" class="text-link">&update.manual.linkText;</label><label>&update.manual.end;</label>
                   <spacer flex="1"/>
                   <button label="&update.checkForUpdatesButton.label;"
                           accesskey="&update.checkForUpdatesButton.accesskey;"
                           disabled="true"/>
                 </hbox>
                 <hbox id="unsupportedSystem" align="center">
                   <label>&update.unsupported.start;</label><label id="unsupportedLink" class="text-link">&update.unsupported.linkText;</label><label>&update.unsupported.end;</label>
-                  <spacer flex="1"/>
-                  <button label="&update.checkForUpdatesButton.label;"
-                          accesskey="&update.checkForUpdatesButton.accesskey;"
-                          disabled="true"/>
                 </hbox>
               </deck>
             </vbox>
             <separator/>
             <radiogroup id="updateRadioGroup"
                         align="start"
                         oncommand="gAdvancedPane.updateWritePrefs();">
               <radio value="auto"