mirror of https://github.com/BOINC/boinc.git
- MGR: Bug Fix for suspend/resume operations not updating
in the UI after the user selected operation. lib/ gui_rpc_client_ops.C svn path=/trunk/boinc/; revision=12823
This commit is contained in:
parent
b4f116bbd1
commit
e29f018f66
|
@ -5771,3 +5771,10 @@ Rom 4 June 2007
|
|||
client/
|
||||
configure.ac
|
||||
version.h
|
||||
|
||||
Rom 5 June 2007
|
||||
- MGR: Bug Fix for suspend/resume operations not updating
|
||||
in the UI after the user selected operation.
|
||||
|
||||
lib/
|
||||
gui_rpc_client_ops.C
|
||||
|
|
|
@ -1600,12 +1600,16 @@ int RPC_CLIENT::project_op(PROJECT& project, const char* op) {
|
|||
tag = "project_update";
|
||||
} else if (!strcmp(op, "suspend")) {
|
||||
tag = "project_suspend";
|
||||
project.suspended_via_gui = true;
|
||||
} else if (!strcmp(op, "resume")) {
|
||||
tag = "project_resume";
|
||||
project.suspended_via_gui = false;
|
||||
} else if (!strcmp(op, "allowmorework")) {
|
||||
tag = "project_allowmorework";
|
||||
tag = "project_allowmorework";
|
||||
project.dont_request_more_work = false;
|
||||
} else if (!strcmp(op, "nomorework")) {
|
||||
tag = "project_nomorework";
|
||||
project.dont_request_more_work = true;
|
||||
} else {
|
||||
return -1;
|
||||
}
|
||||
|
@ -1887,8 +1891,10 @@ int RPC_CLIENT::result_op(RESULT& result, const char* op) {
|
|||
tag = "abort_result";
|
||||
} else if (!strcmp(op, "suspend")) {
|
||||
tag = "suspend_result";
|
||||
result.suspended_via_gui = true;
|
||||
} else if (!strcmp(op, "resume")) {
|
||||
tag = "resume_result";
|
||||
result.suspended_via_gui = false;
|
||||
} else {
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue