mirror of https://github.com/BOINC/boinc.git
- MGR: Mark all notices as having been read if either Simple GUI messages dialog or Advanced GUI Notices tab is open
svn path=/trunk/boinc/; revision=22026
This commit is contained in:
parent
9c68d40d78
commit
c8a3532c41
|
@ -5008,6 +5008,7 @@ David 9 Jul 2010
|
||||||
client_state.cpp,h
|
client_state.cpp,h
|
||||||
work_fetch.cpp
|
work_fetch.cpp
|
||||||
pers_file_xfer.h
|
pers_file_xfer.h
|
||||||
|
|
||||||
Charlie 9 Jul 2010
|
Charlie 9 Jul 2010
|
||||||
- MGR: Fix accessibility code bug in Attach Wizard's ProjectListCtrl,
|
- MGR: Fix accessibility code bug in Attach Wizard's ProjectListCtrl,
|
||||||
consolidate and clean up Mac accessibility code.
|
consolidate and clean up Mac accessibility code.
|
||||||
|
@ -5390,3 +5391,10 @@ David 21 Jul 2010
|
||||||
main.cpp,h
|
main.cpp,h
|
||||||
clientgui/
|
clientgui/
|
||||||
NoticeListCtrl.cpp
|
NoticeListCtrl.cpp
|
||||||
|
|
||||||
|
Charlie 21 Jul 2010
|
||||||
|
- MGR: Mark all notices as having been read if either Simple GUI
|
||||||
|
messages dialog or Advanced GUI Notices tab is open.
|
||||||
|
|
||||||
|
clientgui/
|
||||||
|
MainDocument.cpp
|
||||||
|
|
|
@ -1823,7 +1823,7 @@ int CMainDocument::CachedNoticeUpdate() {
|
||||||
|
|
||||||
int currentTabView = pFrame->GetCurrentViewPage();
|
int currentTabView = pFrame->GetCurrentViewPage();
|
||||||
// Consider all notices as having been read if Notices tab is open
|
// Consider all notices as having been read if Notices tab is open
|
||||||
if ((currentTabView & VW_NOTIF) && wxGetApp().IsActive()) {
|
if ((currentTabView & (VW_NOTIF | VW_SMSG)) && wxGetApp().IsActive()) {
|
||||||
if (m_iLastReadNoticeSequenceNumber != m_iNoticeSequenceNumber) {
|
if (m_iLastReadNoticeSequenceNumber != m_iNoticeSequenceNumber) {
|
||||||
m_iLastReadNoticeSequenceNumber = m_iNoticeSequenceNumber;
|
m_iLastReadNoticeSequenceNumber = m_iNoticeSequenceNumber;
|
||||||
m_iLastReadNoticeArrivalTime = notices.notices[0]->arrival_time;
|
m_iLastReadNoticeArrivalTime = notices.notices[0]->arrival_time;
|
||||||
|
|
Loading…
Reference in New Issue