summaryrefslogtreecommitdiff
path: root/cpp/demo/IcePatch2/MFC/PatchClientDlg.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2013-01-24 23:10:22 +0100
committerJose <jose@zeroc.com>2013-01-24 23:10:22 +0100
commit47cc21ee10c01fee3f5643a54baa9fff6e1f2cc0 (patch)
treec32cc6957025399fb9b202e61f44f844bc890811 /cpp/demo/IcePatch2/MFC/PatchClientDlg.cpp
parentFix VS2010 compilation warning (diff)
downloadice-47cc21ee10c01fee3f5643a54baa9fff6e1f2cc0.tar.bz2
ice-47cc21ee10c01fee3f5643a54baa9fff6e1f2cc0.tar.xz
ice-47cc21ee10c01fee3f5643a54baa9fff6e1f2cc0.zip
Fixed (ICE-4993) - Inconsistent naming of IcePatch2 properties
Diffstat (limited to 'cpp/demo/IcePatch2/MFC/PatchClientDlg.cpp')
-rw-r--r--cpp/demo/IcePatch2/MFC/PatchClientDlg.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/cpp/demo/IcePatch2/MFC/PatchClientDlg.cpp b/cpp/demo/IcePatch2/MFC/PatchClientDlg.cpp
index 20766445b39..658f87e0f59 100644
--- a/cpp/demo/IcePatch2/MFC/PatchClientDlg.cpp
+++ b/cpp/demo/IcePatch2/MFC/PatchClientDlg.cpp
@@ -294,13 +294,13 @@ CPatchDlg::OnInitDialog()
// Set the patch directory and thorough flag from properties.
//
Ice::PropertiesPtr properties = _communicator->getProperties();
- CString path = IceUtil::stringToWstring(properties->getPropertyWithDefault("IcePatch2.Directory", "")).c_str();
+ CString path = IceUtil::stringToWstring(properties->getPropertyWithDefault("IcePatch2Client.Directory", "")).c_str();
_path->SetWindowText(path);
- CString thorough = IceUtil::stringToWstring(properties->getPropertyWithDefault("IcePatch2.Thorough", "0")).c_str();
+ CString thorough = IceUtil::stringToWstring(properties->getPropertyWithDefault("IcePatch2Client.Thorough", "0")).c_str();
_thorough->SetCheck(thorough != "0");
- CString remove = IceUtil::stringToWstring(properties->getPropertyWithDefault("IcePatch2.Remove", "0")).c_str();
+ CString remove = IceUtil::stringToWstring(properties->getPropertyWithDefault("IcePatch2Client.Remove", "0")).c_str();
_remove->SetCheck(remove != "0");
//
@@ -395,19 +395,19 @@ CPatchDlg::OnStartPatch()
AfxMessageBox(CString(L"Please select a patch directory."), MB_OK|MB_ICONEXCLAMATION);
return;
}
- properties->setProperty("IcePatch2.Directory", IceUtil::wstringToString(wstring(path)));
+ properties->setProperty("IcePatch2Client.Directory", IceUtil::wstringToString(wstring(path)));
//
// Set the thorough patch flag.
//
string thorough = _thorough->GetCheck() == BST_CHECKED ? "1" : "0";
- properties->setProperty("IcePatch2.Thorough", thorough);
+ properties->setProperty("IcePatch2Client.Thorough", thorough);
//
// Set the remove orphan flag.
//
string remove = _remove->GetCheck() == BST_CHECKED ? "1" : "0";
- properties->setProperty("IcePatch2.Remove", remove);
+ properties->setProperty("IcePatch2Client.Remove", remove);
DialogPatcherFeedbackPtr feedback = new DialogPatcherFeedback(this);
IcePatch2::PatcherPtr patcher = new IcePatch2::Patcher(_communicator, feedback);