*** empty log message ***

svn path=/trunk/boinc/; revision=8628
This commit is contained in:
Rom Walton 2005-10-10 20:43:06 +00:00
parent 0a4db72aa3
commit 4435c9fc93
1 changed files with 13 additions and 2 deletions

View File

@ -203,6 +203,16 @@ void wxHyperLink::ExecuteLink (const wxString &strLink) {
#else
cmd.Replace(wxT("file://"), wxEmptyString);
#endif
if (cmd.IsEmpty()) {
::wxMessageBox(
_("BOINC could not determine what your default browser is.\n"
"Please verify that you have either the 'mailcap' package installed or\n"
"'mime' package installed, and that the 'text/html' mime type is\n"
"configured for your favorite browser."),
_("BOINC Manager"),
wxOK | wxICON_INFORMATION
);
}
::wxExecute(cmd);
}
delete ft;
@ -211,8 +221,9 @@ void wxHyperLink::ExecuteLink (const wxString &strLink) {
else {
::wxMessageBox(
_("BOINC could not determine what your default browser is.\n"
"Please verify that you have either the 'mailcap' package installed or\n"
"'mime' package installed"),
"Please verify that you have either the 'mailcap' package installed or\n"
"'mime' package installed, and that the 'text/html' mime type is\n"
"configured for your favorite browser."),
_("BOINC Manager"),
wxOK | wxICON_INFORMATION
);