mirror of https://github.com/BOINC/boinc.git
Back out previous change - I found a better solution
svn path=/trunk/boinc/; revision=13522
This commit is contained in:
parent
00e3ddad69
commit
424795ca7f
|
@ -28,8 +28,6 @@
|
|||
#include "DlgAbout.h"
|
||||
#include "Events.h"
|
||||
#include "miofile.h"
|
||||
#include "filesys.h"
|
||||
#include "util.h"
|
||||
#include "SkinManager.h"
|
||||
#include "wx/mac/private.h" // for wxBitmapRefData::GetPictHandle
|
||||
|
||||
|
@ -126,12 +124,6 @@ CMacSystemMenu::CMacSystemMenu(wxString title, wxIcon* icon, wxIcon* iconDisconn
|
|||
: CTaskBarIcon(title, icon, iconDisconnected, iconSnooze) {
|
||||
CFBundleRef SysMenuBundle = NULL;
|
||||
|
||||
// Work around a problem of unknown cause which sometimes causes menubar icon to be unresponsive
|
||||
if (boinc_file_exists("/Library/StartupItems/boinc/boinc") && // If running as daemon
|
||||
(TickCount() < (120*60))) { // If system has been up for less than 2 minutes
|
||||
boinc_sleep(15);
|
||||
}
|
||||
|
||||
m_OpeningAboutDlg = false;
|
||||
|
||||
LoadPrivateFrameworkBundle( CFSTR("SystemMenu.bundle"), &SysMenuBundle );
|
||||
|
|
Loading…
Reference in New Issue