Author: stippi Date: Mon May 3 11:45:22 2010 New Revision: 472 URL: http://mmlr.dyndns.org/changeset/472 Log: Use BStatusBar properly. The text in a BStatusBar is composed of four parts. Label and trailing label are only specified in the constructor or in Reset(). By using SetText(), we were modifying another part of the text, while we meant to set the label. This fixes updates on node monitor messages. Modified: webkit/trunk/WebKit/haiku/WebPositive/DownloadProgressView.cpp Modified: webkit/trunk/WebKit/haiku/WebPositive/DownloadProgressView.cpp ============================================================================== --- webkit/trunk/WebKit/haiku/WebPositive/DownloadProgressView.cpp Mon May 3 11:02:05 2010 (r471) +++ webkit/trunk/WebKit/haiku/WebPositive/DownloadProgressView.cpp Mon May 3 11:45:22 2010 (r472) @@ -501,7 +501,9 @@ } } - fStatusBar->SetText(name); + float value = fStatusBar->CurrentValue(); + fStatusBar->Reset(name); + fStatusBar->SetTo(value); Window()->PostMessage(SAVE_SETTINGS); break; }