From 92add241b4b83c9e586365a8047f2aee84adcdc2 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 15 Feb 2005 19:57:03 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=5432 --- checkin_notes | 8 +++++++- clientgui/ViewWork.cpp | 14 +++++++------- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/checkin_notes b/checkin_notes index 9daa0bc278..3aa259512d 100755 --- a/checkin_notes +++ b/checkin_notes @@ -24770,7 +24770,13 @@ Rom 14 Feb 2005 gui_rpc_server.C David 15 Feb 2005 - - un-break the anonymous platform mechanism + - Fix the anonymous platform mechanism client/ app_start.C + +David 15 Feb 2005 + - BOINC manager: on Unix, don't ask whether to show remote graphics + + clientgui/ + ViewWork.cpp diff --git a/clientgui/ViewWork.cpp b/clientgui/ViewWork.cpp index f0cfa15936..618486a263 100644 --- a/clientgui/ViewWork.cpp +++ b/clientgui/ViewWork.cpp @@ -412,22 +412,22 @@ void CViewWork::OnTaskLinkClicked( const wxHtmlLinkInfo& link ) iProjectIndex = m_pListPane->GetFirstSelected(); pDoc->GetConnectedComputerName( strMachineName ); - if ( !strMachineName.empty() ) - { +#ifdef _WIN32 + if ( !strMachineName.empty() ) { iAnswer = wxMessageBox( _("Are you sure you wish to display graphics on a remote machine?"), _("Show graphics"), wxYES_NO | wxICON_QUESTION, this ); - } - else - { + } else { iAnswer = wxYES; } +#else + iAnswer = wxYES; +#endif - if ( wxYES == iAnswer ) - { + if ( wxYES == iAnswer ) { int foo = iProjectIndex; pDoc->WorkShowGraphics( foo,