From 4435c9fc934e163c5c54bc773a3d6fd16ee04d57 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Mon, 10 Oct 2005 20:43:06 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=8628 --- clientgui/hyperlink.cpp | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/clientgui/hyperlink.cpp b/clientgui/hyperlink.cpp index 1b36e6a1d5..810fe22519 100644 --- a/clientgui/hyperlink.cpp +++ b/clientgui/hyperlink.cpp @@ -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 );