Bug 1208000 - Default browser dialog appears only 2 times. r=Gijs

This commit is contained in:
Jared Wein 2015-09-24 14:18:00 +02:00
parent 28936c75ec
commit 55f6a4dd02
3 changed files with 3 additions and 3 deletions

View File

@ -352,7 +352,7 @@ nsGNOMEShellService::GetShouldSkipCheckDefaultBrowser(bool* aResult)
if (NS_FAILED(rv)) {
return rv;
}
if (defaultBrowserCheckCount < 3) {
if (defaultBrowserCheckCount < 4) {
*aResult = false;
return prefs->SetIntPref(PREF_DEFAULTBROWSERCHECKCOUNT,
defaultBrowserCheckCount + 1);

View File

@ -130,7 +130,7 @@ nsMacShellService::GetShouldSkipCheckDefaultBrowser(bool* aResult)
if (NS_FAILED(rv)) {
return rv;
}
if (defaultBrowserCheckCount < 3) {
if (defaultBrowserCheckCount < 4) {
*aResult = false;
return prefs->SetIntPref(PREF_DEFAULTBROWSERCHECKCOUNT,
defaultBrowserCheckCount + 1);

View File

@ -1011,7 +1011,7 @@ nsWindowsShellService::GetShouldSkipCheckDefaultBrowser(bool* aResult)
if (NS_FAILED(rv)) {
return rv;
}
if (defaultBrowserCheckCount < 3) {
if (defaultBrowserCheckCount < 4) {
*aResult = false;
return prefs->SetIntPref(PREF_DEFAULTBROWSERCHECKCOUNT,
defaultBrowserCheckCount + 1);