Show localized names in Deskbar's Recent applications menu.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41169 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jonas Sundström 2011-04-03 06:33:01 +00:00
parent 00a625f4b8
commit a1b4aa7b94
1 changed files with 3 additions and 3 deletions

View File

@ -574,14 +574,14 @@ TRecentsMenu::AddRecents(int32 count)
if (doc.CountNames(B_REF_TYPE) > 0) {
// create recents menu that will contain the recent docs of
// this app
TRecentsMenu* docs = new TRecentsMenu(ref.name, fBarView,
kRecentAppDocuments, signature, &ref);
TRecentsMenu* docs = new TRecentsMenu(model.Name(),
fBarView, kRecentAppDocuments, signature, &ref);
docs->SetTypesList(TypesList());
docs->SetTarget(Target());
item = new ModelMenuItem(&model, docs);
} else
item = new ModelMenuItem(&model, ref.name, NULL);
item = new ModelMenuItem(&model, model.Name(), NULL);
if (item) {
// add refs-message so that the recent app can be launched