Deskbar: Get rid of the "Restart Tracker" menu item.
Now that launch_daemon automatically restarts Tracker and Deskbar when they crash, this is not needed anymore.
This commit is contained in:
@@ -643,13 +643,6 @@ TBarApp::MessageReceived(BMessage* message)
|
||||
run_be_about();
|
||||
break;
|
||||
|
||||
case kRestartTracker:
|
||||
{
|
||||
BRoster roster;
|
||||
roster.Launch(kTrackerSignature);
|
||||
break;
|
||||
}
|
||||
|
||||
case B_LOCALE_CHANGED:
|
||||
{
|
||||
BLocaleRoster::Default()->Refresh();
|
||||
|
||||
@@ -60,7 +60,6 @@ const uint32 kAddTeam = 'AdTm';
|
||||
const uint32 kRemoveTeam = 'RmTm';
|
||||
const uint32 kRestart = 'Rtrt';
|
||||
const uint32 kShutDown = 'ShDn';
|
||||
const uint32 kRestartTracker = 'Trak';
|
||||
|
||||
// from roster_private.h
|
||||
const uint32 kShutdownSystem = 301;
|
||||
|
||||
@@ -236,13 +236,6 @@ TDeskbarMenu::AddStandardDeskbarMenuItems()
|
||||
dragging = fBarView->Dragging();
|
||||
|
||||
BMenuItem* item;
|
||||
BRoster roster;
|
||||
if (!roster.IsRunning(kTrackerSignature)) {
|
||||
item = new BMenuItem(B_TRANSLATE("Restart Tracker"),
|
||||
new BMessage(kRestartTracker));
|
||||
AddItem(item);
|
||||
AddSeparatorItem();
|
||||
}
|
||||
|
||||
// One of them is used if HAIKU_DISTRO_COMPATIBILITY_OFFICIAL, and the other if
|
||||
// not. However, we want both of them to end up in the catalog, so we have to
|
||||
|
||||
Reference in New Issue
Block a user