Skip to content

Commit

Permalink
Bug 773784 - Update error messages to say FF 16 when launching an app…
Browse files Browse the repository at this point in the history
… with no version of FF installed. r=felipc
  • Loading branch information
mykmelez committed Jul 21, 2012
1 parent 6f1dca0 commit 0ac1ebe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions webapprt/gtk2/webapprt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,8 @@ int main(int argc, char *argv[])
snprintf(appIniPath, MAXPATHLEN, "%s/%s", firefoxDir, kAPP_INI);

if (NS_FAILED(parser.Init(appIniPath))) {
ErrorDialog("This app requires that Firefox version 15 or above is installed."
" Firefox 15+ has not been detected.");
ErrorDialog("This app requires that Firefox version 16 or above is installed."
" Firefox 16+ has not been detected.");
return 255;
}

Expand Down
2 changes: 1 addition & 1 deletion webapprt/mac/webapprt.mm
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@
}

NSLog(@"unable to find a valid webrt path");
@throw MakeException(@"This App requires that Firefox version 15 or above is installed.", @"Firefox 15+ has not been detected.");
@throw MakeException(@"This App requires that Firefox version 16 or above is installed.", @"Firefox 16+ has not been detected.");

return nil;
}
Expand Down
4 changes: 2 additions & 2 deletions webapprt/win/webapprt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ main(int argc, char* argv[])
}

// We've done all we know how to do to try to find and launch FF
Output("This app requires that Firefox version 15 or above is installed."
" Firefox 15+ has not been detected.");
Output("This app requires that Firefox version 16 or above is installed."
" Firefox 16+ has not been detected.");
return 255;
}

0 comments on commit 0ac1ebe

Please sign in to comment.