made open into a submenu, changed case of Save As
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1837 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
15db9de07f
commit
10beef3e41
@ -158,13 +158,14 @@ void StyledEditWindow::InitWindow(){
|
||||
fMenuBar-> AddItem(menu);
|
||||
|
||||
menu-> AddItem(menuItem= new BMenuItem("New", new BMessage(MENU_NEW), 'N'));
|
||||
menu-> AddItem(menuItem= new BMenuItem("Open...", new BMessage(MENU_OPEN), 'O'));
|
||||
menu-> AddItem(menuItem= new BMenuItem(new BMenu("Open..."), new BMessage(MENU_OPEN)));
|
||||
menuItem->SetShortcut('O',0);
|
||||
menuItem->SetTarget(be_app);
|
||||
menu-> AddSeparatorItem();
|
||||
|
||||
menu-> AddItem(fSaveItem= new BMenuItem("Save", new BMessage(MENU_SAVE), 'S'));
|
||||
fSaveItem-> SetEnabled(false);
|
||||
menu-> AddItem(menuItem= new BMenuItem("Save as...", new BMessage(MENU_SAVEAS)));
|
||||
menu-> AddItem(menuItem= new BMenuItem("Save As...", new BMessage(MENU_SAVEAS)));
|
||||
menuItem-> SetEnabled(true);
|
||||
|
||||
menu-> AddItem(fRevertItem= new BMenuItem("Revert to Saved", new BMessage(MENU_REVERT)));
|
||||
|
Loading…
Reference in New Issue
Block a user