[haiku-webkit-commits] r395 - webkit/trunk/WebKit/haiku/WebPositive

  • From: webkit@xxxxxxxxxxxxxxx
  • To: haiku-webkit-commits@xxxxxxxxxxxxx
  • Date: Tue, 06 Apr 2010 23:55:21 +0000

Author: stippi
Date: Tue Apr  6 23:55:21 2010
New Revision: 395
URL: http://mmlr.dyndns.org/changeset/395

Log:
Replace the remaining places where the string was redefined.

Modified:
   webkit/trunk/WebKit/haiku/WebPositive/DownloadWindow.cpp
   webkit/trunk/WebKit/haiku/WebPositive/SettingsWindow.cpp

Modified: webkit/trunk/WebKit/haiku/WebPositive/DownloadWindow.cpp
==============================================================================
--- webkit/trunk/WebKit/haiku/WebPositive/DownloadWindow.cpp    Tue Apr  6 
23:53:55 2010        (r394)
+++ webkit/trunk/WebKit/haiku/WebPositive/DownloadWindow.cpp    Tue Apr  6 
23:55:21 2010        (r395)
@@ -143,8 +143,9 @@
        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));
 

Modified: webkit/trunk/WebKit/haiku/WebPositive/SettingsWindow.cpp
==============================================================================
--- webkit/trunk/WebKit/haiku/WebPositive/SettingsWindow.cpp    Tue Apr  6 
23:53:55 2010        (r394)
+++ webkit/trunk/WebKit/haiku/WebPositive/SettingsWindow.cpp    Tue Apr  6 
23:55:21 2010        (r395)
@@ -211,7 +211,8 @@
 {
        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);

Other related posts:

  • » [haiku-webkit-commits] r395 - webkit/trunk/WebKit/haiku/WebPositive - webkit