Bug 1438334 - Remove unneeded checkForUpdatesButton in some cases in the Prefs Update pane. r=jorgk
authorRichard Marti <richard.marti@gmail.com>
Sat, 17 Feb 2018 11:46:05 +0100
changeset 31126 4e30bc0739dd51c4b67af5c9d6646189d8ef8282
parent 31125 72d5d5085685b1828f30370678d00f1fe5909540
child 31127 4715b23ab74bb421ffc4e231b969ae88820a0734
push id383
push userclokep@gmail.com
push dateMon, 07 May 2018 21:52:48 +0000
reviewersjorgk
bugs1438334
Bug 1438334 - Remove unneeded checkForUpdatesButton in some cases in the Prefs Update pane. r=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"