Author: stippi Date: Tue Apr 6 23:53:55 2010 New Revision: 394 URL: http://mmlr.dyndns.org/changeset/394 Log: Use the new SettingsKeys.h also in the DownloadsWindow. Modified: webkit/trunk/WebKit/haiku/WebPositive/DownloadWindow.cpp Modified: webkit/trunk/WebKit/haiku/WebPositive/DownloadWindow.cpp ============================================================================== --- webkit/trunk/WebKit/haiku/WebPositive/DownloadWindow.cpp Tue Apr 6 23:52:43 2010 (r393) +++ webkit/trunk/WebKit/haiku/WebPositive/DownloadWindow.cpp Tue Apr 6 23:53:55 2010 (r394) @@ -47,6 +47,7 @@ #include "BrowserApp.h" #include "DownloadProgressView.h" +#include "SettingsKeys.h" #include "SettingsMessage.h" #include "WebDownload.h" #include "WebPage.h" @@ -256,8 +257,8 @@ case SETTINGS_VALUE_CHANGED: { BString string; - if (message->FindString("name", &string) == B_OK - && string == "download path" + if (message->FindString("name", &string) == B_OK + && string == kSettingsKeyDownloadPath && message->FindString("value", &string) == B_OK) { fDownloadPath = string; }