*** empty log message ***

svn path=/trunk/boinc/; revision=11555
This commit is contained in:
Rom Walton 2006-11-20 20:55:32 +00:00
parent 688c78787c
commit 920fa4a36a
2 changed files with 25 additions and 18 deletions

View File

@ -12735,3 +12735,9 @@ David 20 Nov 2006
cs_cmdline.C
win/
win_service.cpp
Rom 20 Nov 2006
- MGR: Move the switch to simple GUI menu item to the View menu.
clientgui/
AdvancedFrame.cpp

View File

@ -302,14 +302,6 @@ bool CAdvancedFrame::CreateMenu() {
// File menu
wxMenu *menuFile = new wxMenu;
#ifdef SIMPLEGUI
menuFile->Append(
ID_FILESWITCHGUI,
_("&Switch to Simple View"),
_("Display the simple BOINC graphical interface.")
);
#endif
#ifdef __WXMAC__
menuFile->Append(
ID_FILECLOSEWINDOW,
@ -330,6 +322,17 @@ bool CAdvancedFrame::CreateMenu() {
strMenuDescription
);
// View menu
wxMenu *menuView = new wxMenu;
#ifdef SIMPLEGUI
menuView->Append(
ID_FILESWITCHGUI,
_("&Simple View"),
_("Display the simple BOINC graphical interface.")
);
#endif
// Tools menu
wxMenu *menuTools = new wxMenu;
@ -508,16 +511,14 @@ bool CAdvancedFrame::CreateMenu() {
// construct menu
m_pMenubar = new wxMenuBar;
#ifdef __WXMAC__
// WxWidgets automatically prevents the Exit item from showing in the File menu
// because Mac OSX has its Quit item in "BOINCManager" menu, not in File menu.
// Don't show File menu on the Mac unless it has additional items.
if (menuFile->GetMenuItemCount() > 1)
#endif
m_pMenubar->Append(
menuFile,
_("&File")
);
m_pMenubar->Append(
menuFile,
_("&File")
);
m_pMenubar->Append(
menuView,
_("&View")
);
m_pMenubar->Append(
menuTools,
_("&Tools")