From 9382e75e29ff3d8c2b03f644798a7f159ffa5fe4 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Thu, 3 Aug 2006 09:14:31 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=10828 --- checkin_notes | 7 +++++++ client/client_state.C | 2 +- clientgui/AdvancedFrame.cpp | 26 ++++++++++++++++++++++++++ doc/versions.inc | 10 +++++----- 4 files changed, 39 insertions(+), 6 deletions(-) diff --git a/checkin_notes b/checkin_notes index 6b3f25d0b8..5c0a47b460 100755 --- a/checkin_notes +++ b/checkin_notes @@ -8381,3 +8381,10 @@ David 2 Aug 2006 client_state.h cpu_sched.C cs_apps.C + +Rom 2 Aug 2006 + - After successfully attaching to an account manager, display a balloon + to reassure the participant that everything is fine. + + clientgui/ + AdvancedFrame.cpp diff --git a/client/client_state.C b/client/client_state.C index 298a7f459c..38a27917c8 100644 --- a/client/client_state.C +++ b/client/client_state.C @@ -408,7 +408,7 @@ bool CLIENT_STATE::poll_slow_events() { now = dtime(); - if (should_run_cpu_benchmarks() && !are_cpu_benchmarks_running() && projects.size()>0) { + if (should_run_cpu_benchmarks() && !are_cpu_benchmarks_running() && projects.size() > 0) { run_cpu_benchmarks = false; start_cpu_benchmarks(); } diff --git a/clientgui/AdvancedFrame.cpp b/clientgui/AdvancedFrame.cpp index 50610251e8..c2822b22e3 100644 --- a/clientgui/AdvancedFrame.cpp +++ b/clientgui/AdvancedFrame.cpp @@ -1531,6 +1531,8 @@ void CAdvancedFrame::OnConnect(CFrameEvent& WXUNUSED(event)) { wxString strComputer = wxEmptyString; wxString strName = wxEmptyString; wxString strURL = wxEmptyString; + wxString strDialogTitle = wxEmptyString; + wxString strDialogDescription = wxEmptyString; bool bCachedCredentials = false; ACCT_MGR_INFO ami; PROJECT_INIT_STATUS pis; @@ -1569,6 +1571,30 @@ void CAdvancedFrame::OnConnect(CFrameEvent& WXUNUSED(event)) { if (pAMWizard->Run()) { // If successful, hide the main window Hide(); + + // %s is the application name + // i.e. 'BOINC Manager', 'GridRepublic Manager' + strDialogTitle.Printf( + _("%s"), + wxGetApp().GetBrand()->GetApplicationName().c_str() + ); + + // %s is the application name + // i.e. 'BOINC Manager', 'GridRepublic Manager' + // %s is the project name + // i.e. 'BOINC', 'GridRepublic' + strDialogDescription.Printf( + _("%s has successfully attached to %s"), + wxGetApp().GetBrand()->GetApplicationName().c_str(), + wxGetApp().GetBrand()->GetProjectName().c_str() + ); + + ShowAlert( + strDialogTitle, + strDialogDescription, + wxOK | wxICON_INFORMATION, + true + ); } else { // If failure, display the messages tab m_pNotebook->SetSelection(ID_LIST_MESSAGESVIEW - ID_LIST_BASE); diff --git a/doc/versions.inc b/doc/versions.inc index acf3920ed3..ab09b9cd30 100644 --- a/doc/versions.inc +++ b/doc/versions.inc @@ -369,11 +369,11 @@ $w559= array( " ); -$w549= array( - "num"=>"5.4.9", +$w5411= array( + "num"=>"5.4.11", "status"=>"Recommended version", - "file"=>"boinc_5.4.9_windows_intelx86.exe", - "date"=>"5 May 2006", + "file"=>"boinc_5.4.11_windows_intelx86.exe", + "date"=>"2 Aug 2006", "type"=>"win_new", "features"=>"