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:
committed by
Alexandre Deckner
parent
27ddac2e6e
commit
3ae87b10f1
@@ -143,8 +143,9 @@ DownloadWindow::DownloadWindow(BRect frame, bool visible,
|
|||||||
BPath downloadPath;
|
BPath downloadPath;
|
||||||
if (find_directory(B_DESKTOP_DIRECTORY, &downloadPath) != B_OK)
|
if (find_directory(B_DESKTOP_DIRECTORY, &downloadPath) != B_OK)
|
||||||
downloadPath.SetTo("/boot/home/Desktop");
|
downloadPath.SetTo("/boot/home/Desktop");
|
||||||
fDownloadPath = settings->GetValue("download path", downloadPath.Path());
|
fDownloadPath = settings->GetValue(kSettingsKeyDownloadPath,
|
||||||
settings->SetValue("download path", fDownloadPath);
|
downloadPath.Path());
|
||||||
|
settings->SetValue(kSettingsKeyDownloadPath, fDownloadPath);
|
||||||
|
|
||||||
SetLayout(new BGroupLayout(B_VERTICAL));
|
SetLayout(new BGroupLayout(B_VERTICAL));
|
||||||
|
|
||||||
|
|||||||
@@ -211,7 +211,8 @@ SettingsWindow::_CreateGeneralPage(float spacing)
|
|||||||
{
|
{
|
||||||
fDownloadFolderControl = new BTextControl("download folder",
|
fDownloadFolderControl = new BTextControl("download folder",
|
||||||
TR("Download folder:"), "", new BMessage(MSG_DOWNLOAD_FOLDER_CHANGED));
|
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"),
|
fNewPageBehaviorCloneCurrentItem = new BMenuItem(TR("Clone current page"),
|
||||||
NULL);
|
NULL);
|
||||||
|
|||||||
Reference in New Issue
Block a user