From 15ade6da9dd6dce0b352c84ceb2083cf9d833cd6 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Mon, 10 Oct 2005 23:27:14 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=8639 --- clientgui/hyperlink.cpp | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/clientgui/hyperlink.cpp b/clientgui/hyperlink.cpp index 810fe22519..76e3be34f8 100644 --- a/clientgui/hyperlink.cpp +++ b/clientgui/hyperlink.cpp @@ -203,18 +203,20 @@ 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); } +#if defined(__WXGTK__) || defined(__WXMOTIF__) + 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, and that the 'text/html' mime type is\n" + "configured for your favorite browser."), + _("BOINC Manager"), + wxOK | wxICON_INFORMATION + ); + } +#endif delete ft; } #if defined(__WXGTK__) || defined(__WXMOTIF__)