Workspaces: remove "about" menu item.
The about box is kept, and can be shown from the replicants. Fixes #8165.
This commit is contained in:
parent
7b5ea03f20
commit
052e5d936f
@ -343,7 +343,7 @@ WorkspacesView::WorkspacesView(BRect frame, bool showDragger=true)
|
||||
fParentWhichDrawsOnChildren(NULL),
|
||||
fCurrentFrame(frame)
|
||||
{
|
||||
if(showDragger) {
|
||||
if (showDragger) {
|
||||
frame.OffsetTo(B_ORIGIN);
|
||||
frame.top = frame.bottom - 7;
|
||||
frame.left = frame.right - 7;
|
||||
@ -609,15 +609,14 @@ WorkspacesView::MouseDown(BPoint where)
|
||||
if (window->IsAutoRaising())
|
||||
item->SetMarked(true);
|
||||
if (be_roster->IsRunning(kDeskbarSignature)) {
|
||||
menu->AddItem(item = new BMenuItem(B_TRANSLATE("Live in the Deskbar"),
|
||||
menu->AddItem(item = new BMenuItem(
|
||||
B_TRANSLATE("Live in the Deskbar"),
|
||||
new BMessage(kMsgToggleLiveInDeskbar)));
|
||||
BDeskbar deskbar;
|
||||
item->SetMarked(deskbar.HasItem(kDeskbarItemName));
|
||||
}
|
||||
|
||||
menu->AddSeparatorItem();
|
||||
menu->AddItem(new BMenuItem(B_TRANSLATE("About Workspaces"
|
||||
B_UTF8_ELLIPSIS), new BMessage(B_ABOUT_REQUESTED)));
|
||||
menu->AddItem(new BMenuItem(B_TRANSLATE("Quit"),
|
||||
new BMessage(B_QUIT_REQUESTED)));
|
||||
menu->SetTargetForItems(window);
|
||||
|
Loading…
Reference in New Issue
Block a user