Not Logged In
|
Login
|
Register
Home
|
News
|
Projects
|
Releases
Bugs
|
RFE
|
Repositories
|
Help
projects
/
xestiaab
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added the DataType for Geoposition to the frmContactEditor form.
[xestiaab/.git]
/
source
/
contacteditor
/
cdo
/
ContactDataObject.cpp
diff --git
a/source/contacteditor/cdo/ContactDataObject.cpp
b/source/contacteditor/cdo/ContactDataObject.cpp
index
cda6933
..
5c625c1
100644
(file)
--- a/
source/contacteditor/cdo/ContactDataObject.cpp
+++ b/
source/contacteditor/cdo/ContactDataObject.cpp
@@
-1586,7
+1586,15
@@
void ContactDataObject::ProcessAddress(wxString PropertySeg1, wxString PropertyS
ProcessNameValue(&PropertyData, &PropertyName, &PropertyValue);
intPrevValue = intiter->second;
ProcessNameValue(&PropertyData, &PropertyName, &PropertyValue);
intPrevValue = intiter->second;
- CaptureString(&PropertyValue, FALSE);
+ if (PropertyName == "GEO"){
+
+ CaptureString(&PropertyValue, TRUE);
+
+ } else {
+
+ CaptureString(&PropertyValue, FALSE);
+
+ }
// Process properties.
// Process properties.
@@
-2391,6
+2399,7
@@
void ContactDataObject::ProcessGeographic(wxString PropertySeg1, wxString Proper
GeopositionListPID = &GeneralGeographyListPID;
GeopositionListTokens = &GeneralGeographyListTokens;
GeopositionListMediatype = &GeneralGeographyListMediatype;
GeopositionListPID = &GeneralGeographyListPID;
GeopositionListTokens = &GeneralGeographyListTokens;
GeopositionListMediatype = &GeneralGeographyListMediatype;
+ GeopositionListDataType = &GeneralGeographyListDataType;
GeopositionListPref = &GeneralGeographyListPref;
break;
case PROPERTY_HOME:
GeopositionListPref = &GeneralGeographyListPref;
break;
case PROPERTY_HOME:
@@
-2400,6
+2409,7
@@
void ContactDataObject::ProcessGeographic(wxString PropertySeg1, wxString Proper
GeopositionListPID = &HomeGeographyListPID;
GeopositionListTokens = &HomeGeographyListTokens;
GeopositionListMediatype = &HomeGeographyListMediatype;
GeopositionListPID = &HomeGeographyListPID;
GeopositionListTokens = &HomeGeographyListTokens;
GeopositionListMediatype = &HomeGeographyListMediatype;
+ GeopositionListDataType = &HomeGeographyListDataType;
GeopositionListPref = &HomeGeographyListPref;
break;
case PROPERTY_WORK:
GeopositionListPref = &HomeGeographyListPref;
break;
case PROPERTY_WORK:
@@
-2408,7
+2418,8
@@
void ContactDataObject::ProcessGeographic(wxString PropertySeg1, wxString Proper
GeopositionListAltID = &BusinessGeographyListAltID;
GeopositionListPID = &BusinessGeographyListPID;
GeopositionListTokens = &BusinessGeographyListTokens;
GeopositionListAltID = &BusinessGeographyListAltID;
GeopositionListPID = &BusinessGeographyListPID;
GeopositionListTokens = &BusinessGeographyListTokens;
- GeopositionListMediatype = &BusinessGeographyListMediatype;
+ GeopositionListMediatype = &BusinessGeographyListMediatype;
+ GeopositionListDataType = &BusinessGeographyListDataType;
GeopositionListPref = &BusinessGeographyListPref;
break;
}
GeopositionListPref = &BusinessGeographyListPref;
break;
}
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy