From 8093755eb6a646234890be07849b4954d1348a88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Sundstr=C3=B6m?= Date: Sat, 9 Jun 2007 16:39:47 +0000 Subject: [PATCH] Fix two consequtive BSeparatorItems when Deskbar isn't running. This was due to the removal of "Use Pulse's Settings for Colors". git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21377 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- 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 0c5dd42957..b9b4661dfc 100644 --- a/src/apps/processcontroller/ProcessController.cpp +++ b/src/apps/processcontroller/ProcessController.cpp @@ -762,6 +762,7 @@ thread_popup(void *arg) item->SetMarked(gInDeskbar || deskbar.HasItem(kDeskbarItemName)); item->SetTarget(gPCView); addtopbottom(item); + addtopbottom(new BSeparatorItem ()); } #if 0 @@ -771,8 +772,6 @@ thread_popup(void *arg) addtopbottom (item); #endif - addtopbottom(new BSeparatorItem ()); - item = new IconMenuItem(gPCView->fProcessControllerIcon, "About ProcessController" B_UTF8_ELLIPSIS, new BMessage(B_ABOUT_REQUESTED)); item->SetTarget(gPCView);