mirror of https://github.com/BOINC/boinc.git
removed history
added preference confirmation message svn path=/trunk/boinc/; revision=1303
This commit is contained in:
parent
220db249a4
commit
a7a5a44d3b
|
@ -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];
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
$subset = $_GET["subset"];
|
||||
page_head(subset_name($subset)." preferences");
|
||||
if ($_GET['updated']) {
|
||||
echo '<p style="color: ref">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 '<p style="color: red">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.</p>';
|
||||
}
|
||||
if ($subset == "global") {
|
||||
print_prefs_display_global($user);
|
||||
|
|
Loading…
Reference in New Issue