Revert most of r40007. I also will mark CID 2393 as ignored.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40035 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ryan Leavengood 2010-12-29 20:01:49 +00:00
parent 49ad9afbbe
commit 9c34e0e302

View File

@ -69,11 +69,11 @@ ProgressWindow::Start(BWindow* referenceWindow, bool center)
BScreen screen(referenceWindow);
if (!center) {
BMessage settings;
int32 borderWidth = 5;
if (GetDecoratorSettings(&settings) == B_OK) {
if (settings.FindInt32("border width", &borderWidth) != B_OK)
borderWidth = 5;
}
GetDecoratorSettings(&settings);
int32 borderWidth;
if (settings.FindInt32("border width", &borderWidth) != B_OK)
borderWidth = 5;
MoveTo(screen.Frame().left + borderWidth,
screen.Frame().bottom - Bounds().Height() - borderWidth);