From 2152c5b19d957b64217abeaf8157f57b567d0bcb Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Fri, 6 Mar 2009 23:03:47 +0000 Subject: [PATCH] - MGR: Don't hide the main window after attaching to an account manager if we don't support the system tray on that platform. refs #844 clientgui/ AdvancedFrame.cpp svn path=/trunk/boinc/; revision=17545 --- checkin_notes | 7 +++++++ clientgui/AdvancedFrame.cpp | 3 +++ 2 files changed, 10 insertions(+) diff --git a/checkin_notes b/checkin_notes index 84ffcab852..56c5d620e8 100644 --- a/checkin_notes +++ b/checkin_notes @@ -2850,3 +2850,10 @@ David 6 Mar 2009 sched_array.cpp sched_send.cpp server_types.cpp + +Rom 6 Mar 2009 + - MGR: Don't hide the main window after attaching to an account manager + if we don't support the system tray on that platform. refs #844 + + clientgui/ + AdvancedFrame.cpp diff --git a/clientgui/AdvancedFrame.cpp b/clientgui/AdvancedFrame.cpp index bf64cfadad..4b30991eff 100644 --- a/clientgui/AdvancedFrame.cpp +++ b/clientgui/AdvancedFrame.cpp @@ -1787,8 +1787,11 @@ void CAdvancedFrame::OnConnect(CFrameEvent& WXUNUSED(event)) { pAMWizard = new CWizardAccountManager(this); if (pAMWizard->Run()) { + +#if defined(__WXMSW__) || defined(__WXMAC__) // If successful, hide the main window Hide(); +#endif // %s is the application name // i.e. 'BOINC Manager', 'GridRepublic Manager'