Bug 950241 - Set front end flag for metrofx restart. r=bbondy, rs

This commit is contained in:
Jim Mathies 2014-01-30 13:32:49 -06:00
parent 7af1d9c5eb
commit f09f8677c7

View File

@ -278,12 +278,15 @@ appUpdater.prototype =
return;
}
Services.metro.updatePending = true;
appStartup.quit(Components.interfaces.nsIAppStartup.eAttemptQuit |
Components.interfaces.nsIAppStartup.eRestartTouchEnvironment);
return;
}
const URI_UPDATE_PROMPT_DIALOG = "chrome://mozapps/content/update/updates.xul";
// XXX We can't create dialogs in metro, and we currently don't support addons, so
// commenting this out for now.
/* const URI_UPDATE_PROMPT_DIALOG = "chrome://mozapps/content/update/updates.xul";
// Firefox no longer displays a license for updates and the licenseURL check
// is just in case a distibution does.
if (this.update && (this.update.billboardURL || this.update.licenseURL ||
@ -296,7 +299,7 @@ appUpdater.prototype =
Services.ww.openWindow(null, URI_UPDATE_PROMPT_DIALOG, "", openFeatures, ary);
window.close();
return;
}
}*/
this.selectPanel("checkingForUpdates");
this.isChecking = true;