Author: kirilla Date: 2011-04-03 08:33:01 +0200 (Sun, 03 Apr 2011) New Revision: 41169 Changeset: https://dev.haiku-os.org/changeset/41169 Modified: haiku/trunk/src/apps/deskbar/BeMenu.cpp Log: Show localized names in Deskbar's Recent applications menu. Modified: haiku/trunk/src/apps/deskbar/BeMenu.cpp =================================================================== --- haiku/trunk/src/apps/deskbar/BeMenu.cpp 2011-04-03 00:11:21 UTC (rev 41168) +++ haiku/trunk/src/apps/deskbar/BeMenu.cpp 2011-04-03 06:33:01 UTC (rev 41169) @@ -574,14 +574,14 @@ 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