mirror of https://github.com/BOINC/boinc.git
fix: client gui now gives 'aborted by user' error message in
the work pane. svn path=/trunk/boinc/; revision=7319
This commit is contained in:
parent
bd3d839b57
commit
96110ed261
|
@ -10554,9 +10554,13 @@ David 13 Aug 2005
|
|||
Bruce 13 Aug 2005
|
||||
- compile fixes for Mac OSX. The autoconf/automake framework
|
||||
now works again to build client and clientgui.
|
||||
- fix client gui now gives 'aborted by user' error message in
|
||||
the work pane.
|
||||
|
||||
client/
|
||||
Makefile.am
|
||||
clientgui/
|
||||
Makefile.am
|
||||
BOINCGUIApp.h
|
||||
ViewWork.cpp
|
||||
|
||||
|
|
|
@ -51,6 +51,7 @@ boinc_gui_SOURCES = \
|
|||
EXTRA_DIST = *.h \
|
||||
res \
|
||||
msw \
|
||||
../lib/error_numbers.h \
|
||||
locale $(mac_headers)
|
||||
|
||||
boinc_gui_CPPFLAGS = $(AM_CPPFLAGS) $(WX_CPPFLAGS) $(CLIENTGUIFLAGS)
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#include "BOINCListCtrl.h"
|
||||
#include "ViewWork.h"
|
||||
#include "Events.h"
|
||||
|
||||
#include "../lib/error_numbers.h"
|
||||
|
||||
#include "res/result.xpm"
|
||||
|
||||
|
@ -677,7 +677,10 @@ wxInt32 CViewWork::FormatStatus(wxInt32 item, wxString& strBuffer) const {
|
|||
}
|
||||
break;
|
||||
case RESULT_COMPUTE_ERROR:
|
||||
if (result->aborted_via_gui) {
|
||||
// both tests below are needed, because the boolean flag is not changed
|
||||
// right away
|
||||
//
|
||||
if (result->aborted_via_gui || result->exit_status == ERR_ABORTED_VIA_GUI) {
|
||||
strBuffer = _("Aborted by user");
|
||||
} else {
|
||||
strBuffer = _("Computation error");
|
||||
|
|
Loading…
Reference in New Issue