MGR: Event Log menu item restores Event Log when Minimized

svn path=/trunk/boinc/; revision=23701
This commit is contained in:
Charlie Fenton 2011-06-09 09:25:04 +00:00
parent 0eb289df33
commit 3d0d724d56
3 changed files with 23 additions and 6 deletions

View File

@ -3409,20 +3409,20 @@ David 7 Jun 2011
client/
app_control.cpp
Charlie 7 Jun 2011
Charlie 8 Jun 2011
- MGR: Fix About dialog to show (PowerPC) instead of (x86) when appropriate.
clientgui/
DlgAbout.cpp
Charlie 7 Jun 2011
Charlie 8 Jun 2011
- MGR: Rework logic to skip exit confirmation dialog and avoid shutting down
client if second instance of Manager is launched, so it works if connect
to remote host fails.
- MGR: If original instance of Manager is connected to remote host (or none),
skip exit confirmation dialog but do shut down local client if requested
in most recently run exit dialog, whether or not "Remember this decision"
was set.
- MGR: If original instance of Manager is connected to remote host (or none)
when exiting Manager. skip exit confirmation dialog but do shut down local
client if requested in most recently run exit dialog, whether or not
"Remember this decision" was set.
- MGR: Use same exit confirmation dialog wording for Linux as for Windows.
clientgui/
@ -3447,3 +3447,11 @@ David 8 Jun 2011
api/
boinc_api.h
Charlie 9 Jun 2011
- MGR: Event Log menu item restores Event Log when Minimized; fixed on Mac
and Windows XP, hopefully on other versions of Windows OS.
clientgui/
BOINCBaseFrame.cpp
BOINCGUIApp.cpp

View File

@ -869,7 +869,13 @@ bool CBOINCBaseFrame::Show(bool bShow) {
CDlgEventLog* eventLog = wxGetApp().GetEventLog();
if (eventLog) {
#ifdef __WXMAC__
if (bShow) {
eventLog->Show(bShow);
}
#else
eventLog->Show(bShow);
#endif
}
retval = wxFrame::Show(bShow);

View File

@ -880,6 +880,9 @@ int CBOINCGUIApp::StartBOINCDefaultScreensaverTest() {
void CBOINCGUIApp::DisplayEventLog(bool bShowWindow) {
if (m_pEventLog ) {
if (bShowWindow) {
if (m_pEventLog->IsIconized()) {
m_pEventLog->Iconize(false);
}
m_pEventLog->Raise();
}
} else {