From bb7d2b996f01ae346f9cc2a3368a9f5eb19c4edb Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Wed, 15 Feb 2006 08:18:48 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=9474 --- checkin_notes | 9 +++++++++ clientgui/MainFrame.cpp | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/checkin_notes b/checkin_notes index af424b2f13..3f269ab969 100755 --- a/checkin_notes +++ b/checkin_notes @@ -1870,3 +1870,12 @@ Rom 14 Feb 2006 clientgui/ ViewTransfers.cpp + +Rom 15 Feb 2005 + - Spec Change: Adjust the refresh rate for list view items to 1 second. + This was previously done in the constructor for CMainFrame but was + later changed in SetFrameListPanelRenderTimerRate() for deal with + CPU utilization on Mac's. + + clientgui/ + MainFrame.cpp diff --git a/clientgui/MainFrame.cpp b/clientgui/MainFrame.cpp index 47d77ee830..667a42a8d3 100644 --- a/clientgui/MainFrame.cpp +++ b/clientgui/MainFrame.cpp @@ -1862,7 +1862,7 @@ void CMainFrame::SetFrameListPanelRenderTimerRate() { if (m_pFrameListPanelRenderTimer->IsRunning()) m_pFrameListPanelRenderTimer->Stop(); - m_pFrameListPanelRenderTimer->Start(5000); // Refresh every 5 seconds + m_pFrameListPanelRenderTimer->Start(1000); // Refresh every 1 seconds return; } @@ -1879,7 +1879,7 @@ void CMainFrame::SetFrameListPanelRenderTimerRate() { m_pFrameListPanelRenderTimer->Start(60000); // Refresh every 1 minute break; default: - m_pFrameListPanelRenderTimer->Start(5000); // Refresh every 5 seconds + m_pFrameListPanelRenderTimer->Start(1000); // Refresh every 1 seconds break; } }