Backgrounds: Use layout workspaces menu field

This commit is contained in:
John Scipione 2013-05-29 23:59:04 -04:00
parent ca3a1c0451
commit 0a04b14f8c
1 changed files with 2 additions and 2 deletions

View File

@ -150,8 +150,8 @@ BackgroundsView::BackgroundsView()
B_TRANSLATE("Other folder" B_UTF8_ELLIPSIS), B_TRANSLATE("Other folder" B_UTF8_ELLIPSIS),
new BMessage(kMsgOtherFolder))); new BMessage(kMsgOtherFolder)));
BMenuField* workspaceMenuField = new BMenuField(BRect(0, 0, 130, 18), BMenuField* workspaceMenuField = new BMenuField("workspaceMenuField",
"workspaceMenuField", NULL, fWorkspaceMenu, true); NULL, fWorkspaceMenu);
workspaceMenuField->ResizeToPreferred(); workspaceMenuField->ResizeToPreferred();
rightbox->SetLabel(workspaceMenuField); rightbox->SetLabel(workspaceMenuField);