List:Commits« Previous MessageNext Message »
From:Reggie Burnett Date:February 11 2011 3:19am
Subject:bzr commit into wex-installer-1.0 branch (reggie.burnett:333)
View as plain text  
#At file:///C:/Users/Reggie/work/wex/installer-updated/ based on revid:reggie.burnett@stripped

  333 Reggie Burnett	2011-02-10
      changed display on ProductFeature to be integer

    modified:
      ManifestUpdater/ProductFeature.cs
      ManifestUpdater/Program.cs
=== modified file 'ManifestUpdater/ProductFeature.cs'
=== modified file 'ManifestUpdater/ProductFeature.cs'
--- a/ManifestUpdater/ProductFeature.cs	2011-02-11 00:26:57 +0000
+++ b/ManifestUpdater/ProductFeature.cs	2011-02-11 03:19:43 +0000
@@ -38,7 +38,7 @@
         public long SizeEstimate { get; set; }
 
         [XmlAttribute("display")]
-        public bool Display { get; set; }
+        public int Display { get; set; }
 
         [XmlAttribute("hasComponents")]
         public bool HasComponents { get; set; }

=== modified file 'ManifestUpdater/Program.cs'
--- a/ManifestUpdater/Program.cs	2011-02-11 03:14:01 +0000
+++ b/ManifestUpdater/Program.cs	2011-02-11 03:19:43 +0000
@@ -123,7 +123,7 @@
                     feature.Name = record.GetString(1);
                     feature.Title = record.GetString(3);
                     feature.Description = record.GetString(4);
-                    feature.Display = record.GetInteger(5) == 1 ? true : false;
+                    feature.Display = record.GetInteger(5);
                     feature.HasComponents = FeatureHasComponents(msiDb, feature.Name);
                     feature.SizeEstimate = GetSizeEstimate(msiDb, feature.Name);
                     features.Add(feature);


Attachment: [text/bzr-bundle] bzr/reggie.burnett@oracle.com-20110211031943-kgct7u7ot0sy8kmt.bundle
Thread
bzr commit into wex-installer-1.0 branch (reggie.burnett:333) Reggie Burnett11 Feb