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:
Augustin Cavalier
2016-01-12 12:12:07 -05:00
parent 90fd6af0b6
commit 4f39c58818
3 changed files with 0 additions and 15 deletions
-7
View File
@@ -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();
-1
View File
@@ -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;
-7
View File
@@ -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