Replace the remaining places where the string was redefined.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@395 94f232f2-1747-11df-bad5-a5bfde151594
This commit is contained in:
stippi
2012-07-03 15:39:56 +02:00
committed by Alexandre Deckner
parent 27ddac2e6e
commit 3ae87b10f1
2 changed files with 5 additions and 3 deletions
+3 -2
View File
@@ -143,8 +143,9 @@ DownloadWindow::DownloadWindow(BRect frame, bool visible,
BPath downloadPath;
if (find_directory(B_DESKTOP_DIRECTORY, &downloadPath) != B_OK)
downloadPath.SetTo("/boot/home/Desktop");
fDownloadPath = settings->GetValue("download path", downloadPath.Path());
settings->SetValue("download path", fDownloadPath);
fDownloadPath = settings->GetValue(kSettingsKeyDownloadPath,
downloadPath.Path());
settings->SetValue(kSettingsKeyDownloadPath, fDownloadPath);
SetLayout(new BGroupLayout(B_VERTICAL));
+2 -1
View File
@@ -211,7 +211,8 @@ SettingsWindow::_CreateGeneralPage(float spacing)
{
fDownloadFolderControl = new BTextControl("download folder",
TR("Download folder:"), "", new BMessage(MSG_DOWNLOAD_FOLDER_CHANGED));
fDownloadFolderControl->SetText(fSettings->GetValue("download path", ""));
fDownloadFolderControl->SetText(
fSettings->GetValue(kSettingsKeyDownloadPath, ""));
fNewPageBehaviorCloneCurrentItem = new BMenuItem(TR("Clone current page"),
NULL);