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
This commit is contained in:
Jonas Sundström 2007-06-09 16:39:47 +00:00
parent 9eb8022e0c
commit 8093755eb6

View File

@ -762,6 +762,7 @@ thread_popup(void *arg)
item->SetMarked(gInDeskbar || deskbar.HasItem(kDeskbarItemName)); item->SetMarked(gInDeskbar || deskbar.HasItem(kDeskbarItemName));
item->SetTarget(gPCView); item->SetTarget(gPCView);
addtopbottom(item); addtopbottom(item);
addtopbottom(new BSeparatorItem ());
} }
#if 0 #if 0
@ -771,8 +772,6 @@ thread_popup(void *arg)
addtopbottom (item); addtopbottom (item);
#endif #endif
addtopbottom(new BSeparatorItem ());
item = new IconMenuItem(gPCView->fProcessControllerIcon, "About ProcessController" B_UTF8_ELLIPSIS, item = new IconMenuItem(gPCView->fProcessControllerIcon, "About ProcessController" B_UTF8_ELLIPSIS,
new BMessage(B_ABOUT_REQUESTED)); new BMessage(B_ABOUT_REQUESTED));
item->SetTarget(gPCView); item->SetTarget(gPCView);