mirror of https://github.com/BOINC/boinc.git
MGR: When connecting to a different host, delete all old messages in message pane (from previously connected client) before getting new messages
svn path=/trunk/boinc/; revision=14791
This commit is contained in:
parent
4937c0dcf1
commit
dc514b556a
|
@ -1626,3 +1626,12 @@ Rom Feb 25 2008
|
||||||
|
|
||||||
clientgui/
|
clientgui/
|
||||||
AdvancedFrame.cpp
|
AdvancedFrame.cpp
|
||||||
|
|
||||||
|
Charlie Feb 25 2008
|
||||||
|
- MGR: When connecting to a different host, delete all old messages in
|
||||||
|
message pane (from previously connected client) before getting new
|
||||||
|
messages.
|
||||||
|
|
||||||
|
clientgui/
|
||||||
|
sg_DlgMessages.cpp
|
||||||
|
ViewMessages.cpp
|
||||||
|
|
|
@ -247,7 +247,8 @@ void CViewMessages::OnListRender (wxTimerEvent& event) {
|
||||||
m_pMessageInfoAttr->SetTextColour(wxColour(128, 128, 128));
|
m_pMessageInfoAttr->SetTextColour(wxColour(128, 128, 128));
|
||||||
m_pMessageErrorAttr->SetTextColour(wxColour(255, 128, 128));
|
m_pMessageErrorAttr->SetTextColour(wxColour(255, 128, 128));
|
||||||
}
|
}
|
||||||
// Force an update
|
// Force a complete update
|
||||||
|
m_pListPane->DeleteAllItems();
|
||||||
m_pListPane->SetItemCount(iDocCount);
|
m_pListPane->SetItemCount(iDocCount);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -368,7 +368,8 @@ void CPanelMessages::OnRefresh(wxTimerEvent& event) {
|
||||||
m_pMessageInfoAttr->SetTextColour(wxColour(128, 128, 128));
|
m_pMessageInfoAttr->SetTextColour(wxColour(128, 128, 128));
|
||||||
m_pMessageErrorAttr->SetTextColour(wxColour(255, 128, 128));
|
m_pMessageErrorAttr->SetTextColour(wxColour(255, 128, 128));
|
||||||
}
|
}
|
||||||
// Force an update
|
// Force a complete update
|
||||||
|
m_pList->DeleteAllItems();
|
||||||
m_pList->SetItemCount(iDocCount);
|
m_pList->SetItemCount(iDocCount);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue