From a7a5a44d3b9075c9e64446ded354cf03025d9110 Mon Sep 17 00:00:00 2001 From: Tim Lan Date: Wed, 4 Jun 2003 23:39:23 +0000 Subject: [PATCH] removed history added preference confirmation message svn path=/trunk/boinc/; revision=1303 --- client/win/wingui_mainwindow.cpp | 10 ++++++++-- html/user/prefs.php | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/client/win/wingui_mainwindow.cpp b/client/win/wingui_mainwindow.cpp index 544e265ee3..8662ba88b1 100755 --- a/client/win/wingui_mainwindow.cpp +++ b/client/win/wingui_mainwindow.cpp @@ -265,11 +265,14 @@ void CMainWindow::UpdateGUI(CLIENT_STATE* pcs) for(i = 0; i < m_ResultListCtrl.GetItemCount(); i ++) { RESULT* re = (RESULT*)m_ResultListCtrl.GetItemData(i); if(!re) { + /* m_ResultListCtrl.SetItemColor(i, RGB(128, 128, 128)); if (m_ResultListCtrl.GetItemProgress(i, 4) != 100) { m_ResultListCtrl.SetItemProgress(i, 4, 100); m_ResultListCtrl.SetItemText(i, 5, "00:00:00"); } + */ + m_ResultListCtrl.DeleteItem(i); continue; } @@ -365,6 +368,7 @@ void CMainWindow::UpdateGUI(CLIENT_STATE* pcs) for(i = 0; i < m_XferListCtrl.GetItemCount(); i ++) { PERS_FILE_XFER* pfx = (PERS_FILE_XFER*)m_XferListCtrl.GetItemData(i); if(!pfx) { + /* m_XferListCtrl.SetItemColor(i, RGB(128, 128, 128)); if (m_XferListCtrl.GetItemProgress(i, 2) != 100) { m_XferListCtrl.SetItemProgress(i, 2, 100); @@ -372,6 +376,8 @@ void CMainWindow::UpdateGUI(CLIENT_STATE* pcs) m_XferListCtrl.SetItemText(i, 5, "0.00 KBps"); m_XferListCtrl.SetItemText(i, 6, g_szMiscItems[7]); } + */ + m_XferListCtrl.DeleteItem(i); continue; } @@ -1356,7 +1362,7 @@ void CMainWindow::OnCommandExit() } SaveUserSettings(); - SaveListControls(); + //SaveListControls(); // This was causing trouble in the installer because the SS window // would recieve the WM_DESTROY message first, thereby causing @@ -1500,7 +1506,7 @@ int CMainWindow::OnCreate(LPCREATESTRUCT lpcs) read_log_flags(); LoadUserSettings(); - LoadListControls(); + //LoadListControls(); LPSTR command_line; char* argv[100]; diff --git a/html/user/prefs.php b/html/user/prefs.php index 63b917f168..5825d6ea9a 100644 --- a/html/user/prefs.php +++ b/html/user/prefs.php @@ -10,7 +10,7 @@ $subset = $_GET["subset"]; page_head(subset_name($subset)." preferences"); if ($_GET['updated']) { - echo '

Your preference has been updated and will take effect the next time BOINC starts, or you may manually retrieve the preference in the BOINC software.'; + echo '

Your preference has been updated and will take effect the next time BOINC starts, or you may manually retrieve the preference in the BOINC software.

'; } if ($subset == "global") { print_prefs_display_global($user);