mirror of https://github.com/BOINC/boinc.git
Merge branch 'charlie/master' into master
Conflicts: checkin_notes
This commit is contained in:
commit
61ab02d443
|
@ -6188,6 +6188,13 @@ David 16 Oct 2012
|
|||
sched/
|
||||
credit.cpp
|
||||
|
||||
Charlie 17 Oct 2012
|
||||
- MGR: Add Control-Shift_E shortcut (Command-Shift-E on Mac) to show Event
|
||||
Log in Simple View, for the convenience of tech suppport volunteers.
|
||||
|
||||
clientgui/
|
||||
sg_BoincSimpleFrame.cpp,.h
|
||||
|
||||
David 17 Oct 2012
|
||||
- scheduler: debug the above
|
||||
- add some files missing from git repo
|
||||
|
|
|
@ -74,6 +74,7 @@ BEGIN_EVENT_TABLE(CSimpleFrame, CBOINCBaseFrame)
|
|||
EVT_MENU(ID_HELPBOINCMANAGER, CSimpleFrame::OnHelpBOINC)
|
||||
EVT_MENU(ID_HELPBOINCWEBSITE, CSimpleFrame::OnHelpBOINC)
|
||||
EVT_MENU(wxID_ABOUT, CSimpleFrame::OnHelpAbout)
|
||||
EVT_MENU(ID_EVENTLOG, CSimpleFrame::OnEventLog)
|
||||
END_EVENT_TABLE()
|
||||
|
||||
|
||||
|
@ -271,6 +272,11 @@ CSimpleFrame::CSimpleFrame(wxString title, wxIcon* icon, wxIcon* icon32, wxPoint
|
|||
#endif
|
||||
|
||||
m_Shortcuts[0].Set(wxACCEL_NORMAL, WXK_HELP, ID_HELPBOINCMANAGER);
|
||||
#ifdef __WXMAC__
|
||||
m_Shortcuts[1].Set(wxACCEL_CMD|wxACCEL_SHIFT, (int)'E', ID_EVENTLOG);
|
||||
#else
|
||||
m_Shortcuts[1].Set(wxACCEL_CTRL|wxACCEL_SHIFT, (int)'E', ID_EVENTLOG);
|
||||
#endif
|
||||
m_pAccelTable = new wxAcceleratorTable(2, m_Shortcuts);
|
||||
|
||||
SetAcceleratorTable(*m_pAccelTable);
|
||||
|
@ -670,6 +676,15 @@ void CSimpleFrame::OnConnect(CFrameEvent& WXUNUSED(event)) {
|
|||
}
|
||||
|
||||
|
||||
void CSimpleFrame::OnEventLog(wxCommandEvent& WXUNUSED(event)) {
|
||||
wxLogTrace(wxT("Function Start/End"), wxT("CSimpleFrame::OnEventLog - Function Begin"));
|
||||
|
||||
wxGetApp().DisplayEventLog();
|
||||
|
||||
wxLogTrace(wxT("Function Start/End"), wxT("CSimpleFrame::OnEventLog - Function End"));
|
||||
}
|
||||
|
||||
|
||||
IMPLEMENT_DYNAMIC_CLASS(CSimpleGUIPanel, wxPanel)
|
||||
|
||||
BEGIN_EVENT_TABLE(CSimpleGUIPanel, wxPanel)
|
||||
|
|
|
@ -124,7 +124,8 @@ public:
|
|||
void OnReloadSkin( CFrameEvent& event );
|
||||
void OnRefreshView( CFrameEvent& event );
|
||||
void OnNotification( CFrameEvent& event );
|
||||
|
||||
void OnEventLog(wxCommandEvent& event);
|
||||
|
||||
void SetMsgsDlgOpen(CDlgMessages* newDlgPtr) { dlgMsgsPtr = newDlgPtr; }
|
||||
bool isMessagesDlgOpen() { return (dlgMsgsPtr != NULL); }
|
||||
|
||||
|
@ -136,7 +137,7 @@ protected:
|
|||
|
||||
wxMenuBar* m_pMenubar;
|
||||
wxMenu* m_pSubmenuSkins;
|
||||
wxAcceleratorEntry m_Shortcuts[1];
|
||||
wxAcceleratorEntry m_Shortcuts[2];
|
||||
wxAcceleratorTable* m_pAccelTable;
|
||||
|
||||
CSimpleGUIPanel* m_pBackgroundPanel;
|
||||
|
|
Loading…
Reference in New Issue