diff --git a/checkin_notes b/checkin_notes index 754a5c02a4..078ead4e2f 100755 --- a/checkin_notes +++ b/checkin_notes @@ -2043,5 +2043,9 @@ Bruce 25 Feb 2007 Charlie 25 Feb 2007 Mac: Fix OS 10.3 bug in new OSXIdleTime() function. + Win: Fix check mark on Snooze taskbar menu item on Windows XP + client/ hostinf_unix.C + clientgui/ + BOINCTaskBar.cpp diff --git a/clientgui/BOINCTaskBar.cpp b/clientgui/BOINCTaskBar.cpp index 80eb51ec07..1bd7ecb8ed 100644 --- a/clientgui/BOINCTaskBar.cpp +++ b/clientgui/BOINCTaskBar.cpp @@ -652,13 +652,6 @@ void CTaskBarIcon::AdjustMenuItems(wxMenu* pMenu) { wxASSERT(pDoc); 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 // 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 @@ -702,6 +695,13 @@ void CTaskBarIcon::AdjustMenuItems(wxMenu* pMenu) { } } #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$";