mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=8628
This commit is contained in:
parent
0a4db72aa3
commit
4435c9fc93
|
@ -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
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue