Pulse deskbar replicant couldn't be removed. Fixes #4244.

This commit is contained in:
Philippe Saint-Pierre 2012-06-16 14:08:53 -04:00
parent e949483f2c
commit 919d3b7601

View File

@ -317,7 +317,7 @@ CPUButton::AttachedToWindow()
fReplicantInDeskbar = false;
if (fReplicant) {
if (strcmp(Window()->Title(), B_TRANSLATE("Deskbar")) == 0) {
if (strcmp(Window()->Title(), B_TRANSLATE("Deskbar"))) {
// Make room for dragger
ResizeBy(4, 4);