mirror of https://github.com/BOINC/boinc.git
- MGR: Remove code that blocks the switch to simple view when an
accessibility aid is running. clientgui/ BOINCGUIApp.cpp AdvancedFrame.cpp svn path=/trunk/boinc/; revision=24397
This commit is contained in:
parent
d2d6a49287
commit
f93c8d4c65
|
@ -7214,3 +7214,11 @@ David 13 Oct 2011
|
|||
|
||||
clientgui/
|
||||
sg_TaskPanel.cpp,h
|
||||
|
||||
Rom 13 Oct 2011
|
||||
- MGR: Remove code that blocks the switch to simple view when an
|
||||
accessibility aid is running.
|
||||
|
||||
clientgui/
|
||||
BOINCGUIApp.cpp
|
||||
AdvancedFrame.cpp
|
||||
|
|
|
@ -402,12 +402,6 @@ bool CAdvancedFrame::CreateMenu() {
|
|||
menuView->Enable(ID_CHANGEGUI, false);
|
||||
}
|
||||
|
||||
// Is an accessibility aid running?
|
||||
if (wxGetApp().IsAccessibilityEnabled()) {
|
||||
menuView->Enable(ID_CHANGEGUI, false);
|
||||
}
|
||||
|
||||
|
||||
// Tools menu
|
||||
wxMenu *menuTools = new wxMenu;
|
||||
|
||||
|
|
|
@ -392,16 +392,10 @@ bool CBOINCGUIApp::OnInit() {
|
|||
|
||||
// Is there a condition in which the Simple GUI should not be used?
|
||||
if (BOINC_SIMPLEGUI == m_iGUISelected) {
|
||||
|
||||
// Screen too small?
|
||||
if (wxGetDisplaySize().GetHeight() < 600) {
|
||||
m_iGUISelected = BOINC_ADVANCEDGUI;
|
||||
}
|
||||
|
||||
// Screen reader in use?
|
||||
if (IsAccessibilityEnabled()) {
|
||||
m_iGUISelected = BOINC_ADVANCEDGUI;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue