From e94d882e3d775fa9c85634f30b12f61b67fefe75 Mon Sep 17 00:00:00 2001 From: Walt Gribben Date: Fri, 24 Feb 2006 00:25:28 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=9542 --- checkin_notes | 10 ++++++++++ lib/gui_rpc_client_ops.C | 2 ++ lib/gui_rpc_client_print.C | 1 + 3 files changed, 13 insertions(+) diff --git a/checkin_notes b/checkin_notes index a8f8ed8427..637bf7837e 100755 --- a/checkin_notes +++ b/checkin_notes @@ -2292,3 +2292,13 @@ Rom 23 Feb 2006 clientgui/ ProjectProcessingPage.cpp + +Walt 23 Feb 2006 + - Bug Fix: PROJECT::attach_via_acct_mgr flag wasn't being initialized or copied, + causing the manager to incorrectly disabled the detach button. Also added + the flag to PROJECT::print(). + + lib/ + gui_rpc_client_ops.C + gui_rpc_client_print.C + diff --git a/lib/gui_rpc_client_ops.C b/lib/gui_rpc_client_ops.C index 0fde322c38..8701abb52d 100644 --- a/lib/gui_rpc_client_ops.C +++ b/lib/gui_rpc_client_ops.C @@ -98,6 +98,7 @@ void PROJECT::copy(PROJECT& p) { suspended_via_gui = p.suspended_via_gui; dont_request_more_work = p.dont_request_more_work; scheduler_rpc_in_progress = p.scheduler_rpc_in_progress; + attached_via_acct_mgr = p.attached_via_acct_mgr; gui_urls = p.gui_urls; } @@ -190,6 +191,7 @@ void PROJECT::clear() { suspended_via_gui = false; dont_request_more_work = false; scheduler_rpc_in_progress = false; + attached_via_acct_mgr = false; gui_urls.clear(); statistics.clear(); } diff --git a/lib/gui_rpc_client_print.C b/lib/gui_rpc_client_print.C index 616e6a40b1..8f732007c2 100644 --- a/lib/gui_rpc_client_print.C +++ b/lib/gui_rpc_client_print.C @@ -75,6 +75,7 @@ void PROJECT::print() { printf(" master_fetch_failures: %d\n", master_fetch_failures); printf(" master fetch pending: %s\n", master_url_fetch_pending?"yes":"no"); printf(" scheduler RPC pending: %s\n", sched_rpc_pending?"yes":"no"); + printf(" attached via Account Manager: %s\n", attached_via_acct_mgr?"yes":"no"); printf(" tentative: %s\n", tentative?"yes":"no"); printf(" suspended via GUI: %s\n", suspended_via_gui?"yes":"no"); printf(" don't request more work: %s\n", dont_request_more_work?"yes":"no");