diff options
author | t-espave <unknown> | 2011-08-10 14:34:42 -0700 |
---|---|---|
committer | t-espave <unknown> | 2011-08-10 14:34:42 -0700 |
commit | 1a2065bb8a7c7736d975e1555acbc02811bab055 (patch) | |
tree | ad3952452e98d504eab16dbb23e74106c507291e /BCT/TranslationPlugins | |
parent | 4cdf731e9884e9cc45336a79229d72e554c3ee34 (diff) |
(phone) fixed issues with anonymous xaml declarations.
Diffstat (limited to 'BCT/TranslationPlugins')
-rw-r--r-- | BCT/TranslationPlugins/PhoneControlsPlugin.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/BCT/TranslationPlugins/PhoneControlsPlugin.cs b/BCT/TranslationPlugins/PhoneControlsPlugin.cs index f0c75a4c..60af90c0 100644 --- a/BCT/TranslationPlugins/PhoneControlsPlugin.cs +++ b/BCT/TranslationPlugins/PhoneControlsPlugin.cs @@ -109,6 +109,8 @@ namespace TranslationPlugins { private static int SELECTIONCHANGED_HANDLER_FIELD = 10;
private static int BPL_NAME_FIELD = 11;
+ public const string BOOGIE_DUMMY_CONTROL = "__BOOGIE_DUMMY_CONTROLNAME_";
+
private IDictionary<string, PageStructure> pageStructureInfo;
public static string getURILastPath(string uri) {
@@ -302,7 +304,7 @@ namespace TranslationPlugins { controlClass = inputLine[CONTROL_CLASS_FIELD].Trim();
controlName = inputLine[CONTROL_NAME_FIELD].Trim();
if (string.IsNullOrEmpty(controlName))
- controlName = "__BOOGIE_DUMMY_CONTROLNAME_" + dummyControlNameIndex++;
+ controlName = BOOGIE_DUMMY_CONTROL + dummyControlNameIndex++;
enabled = inputLine[ENABLED_FIELD].Trim();
visibility = inputLine[VISIBILITY_FIELD].Trim();
|