Fixed a typo.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39692 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Houdoin
2010-12-01 14:35:51 +00:00
parent 07df8bec9b
commit 2115850c7e
@@ -149,7 +149,7 @@ NotificationWindow::MessageReceived(BMessage* message)
messageOkay = false; messageOkay = false;
if (message->FindString("title", &title) != B_OK) if (message->FindString("title", &title) != B_OK)
messageOkay = false; messageOkay = false;
if (message->FindString("app", &app) != B_OK if (message->FindString("app", &app) != B_OK
&& message->FindString("appTitle", &app) != B_OK) && message->FindString("appTitle", &app) != B_OK)
messageOkay = false; messageOkay = false;
@@ -188,12 +188,12 @@ NotificationWindow::MessageReceived(BMessage* message)
group = aIt->second; group = aIt->second;
group->AddInfo(view); group->AddInfo(view);
ResizeAll(); ResizeAll();
reply.AddInt32("error", B_OK); reply.AddInt32("error", B_OK);
} else } else
reply.AddInt32("Error", B_ERROR); reply.AddInt32("error", B_NOT_ALLOWED);
} else { } else {
reply.what = B_MESSAGE_NOT_UNDERSTOOD; reply.what = B_MESSAGE_NOT_UNDERSTOOD;
reply.AddInt32("error", B_ERROR); reply.AddInt32("error", B_ERROR);
@@ -243,7 +243,7 @@ NotificationWindow::ResolveSpecifier(BMessage* msg, int32 index,
handler = this; handler = this;
break; break;
} }
case B_SET_PROPERTY: case B_SET_PROPERTY:
case B_GET_PROPERTY: case B_GET_PROPERTY:
{ {
int32 i; int32 i;
@@ -411,13 +411,13 @@ NotificationWindow::PopupAnimation(float width, float height)
sy = frame.bottom; sy = frame.bottom;
y = sy - height - pad; y = sy - height - pad;
x = sx; x = sx;
break; break;
default: default:
break; break;
} }
MoveTo(x, y); MoveTo(x, y);
if (IsHidden() && fViews.size() != 0) if (IsHidden() && fViews.size() != 0)
Show(); Show();
// Activate();// it hides floaters from apps :-( // Activate();// it hides floaters from apps :-(