From 3de4c1e20b80d6f666e314d76d398e4e438a97a5 Mon Sep 17 00:00:00 2001 From: Michael Lotz Date: Thu, 15 Dec 2011 20:02:19 +0100 Subject: [PATCH] Fix copy&paste error and double launch of Terminal. Apparently the "Deskbar" part was a copy&paste error. Also there was an additional launch call making two Terminal windows come up. Should fix #8243. --- src/apps/processcontroller/ProcessController.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/apps/processcontroller/ProcessController.cpp b/src/apps/processcontroller/ProcessController.cpp index 3d1c225b53..59de2bf492 100644 --- a/src/apps/processcontroller/ProcessController.cpp +++ b/src/apps/processcontroller/ProcessController.cpp @@ -368,10 +368,9 @@ ProcessController::MessageReceived(BMessage *message) { BPath terminalPath; if (find_directory(B_SYSTEM_APPS_DIRECTORY, &terminalPath) == B_OK - && terminalPath.Append("Deskbar") == B_OK) { + && terminalPath.Append("Terminal") == B_OK) { launch(kTerminalSig, terminalPath.Path()); } - launch(kTerminalSig, terminalPath.Path()); break; }