mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=12159
This commit is contained in:
parent
656a21ddf6
commit
c540722761
|
@ -2043,5 +2043,9 @@ Bruce 25 Feb 2007
|
||||||
|
|
||||||
Charlie 25 Feb 2007
|
Charlie 25 Feb 2007
|
||||||
Mac: Fix OS 10.3 bug in new OSXIdleTime() function.
|
Mac: Fix OS 10.3 bug in new OSXIdleTime() function.
|
||||||
|
Win: Fix check mark on Snooze taskbar menu item on Windows XP
|
||||||
|
|
||||||
client/
|
client/
|
||||||
hostinf_unix.C
|
hostinf_unix.C
|
||||||
|
clientgui/
|
||||||
|
BOINCTaskBar.cpp
|
||||||
|
|
|
@ -652,13 +652,6 @@ void CTaskBarIcon::AdjustMenuItems(wxMenu* pMenu) {
|
||||||
wxASSERT(pDoc);
|
wxASSERT(pDoc);
|
||||||
wxASSERT(wxDynamicCast(pDoc, CMainDocument));
|
wxASSERT(wxDynamicCast(pDoc, CMainDocument));
|
||||||
|
|
||||||
pDoc->GetCoreClientStatus(status);
|
|
||||||
if (RUN_MODE_NEVER == status.task_mode) {
|
|
||||||
pMenu->Check(ID_TB_SUSPEND, true);
|
|
||||||
} else {
|
|
||||||
pMenu->Check(ID_TB_SUSPEND, false);
|
|
||||||
}
|
|
||||||
|
|
||||||
// BOINC Manager crashes if user selects "Exit" from taskbar menu while
|
// BOINC Manager crashes if user selects "Exit" from taskbar menu while
|
||||||
// a dialog is open, so we must disable the "Exit" menu item if a dialog
|
// a dialog is open, so we must disable the "Exit" menu item if a dialog
|
||||||
// is open. So lets search for the dialog by ID since all of BOINC
|
// is open. So lets search for the dialog by ID since all of BOINC
|
||||||
|
@ -702,6 +695,13 @@ void CTaskBarIcon::AdjustMenuItems(wxMenu* pMenu) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
pDoc->GetCoreClientStatus(status);
|
||||||
|
if (RUN_MODE_NEVER == status.task_mode) {
|
||||||
|
pMenu->Check(ID_TB_SUSPEND, true);
|
||||||
|
} else {
|
||||||
|
pMenu->Check(ID_TB_SUSPEND, false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *BOINC_RCSID_531575eeaa = "$Id$";
|
const char *BOINC_RCSID_531575eeaa = "$Id$";
|
||||||
|
|
Loading…
Reference in New Issue