Skip to content

Commit

Permalink
Fixed a bug where "checked=false" was not getting written back to the…
Browse files Browse the repository at this point in the history
… applist

Fixed horrendous tab order on the add application dialog
  • Loading branch information
philc committed Oct 24, 2006
1 parent 1e6fc4b commit 3c67ae3
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 26 deletions.
6 changes: 4 additions & 2 deletions InstallPad.csproj
Expand Up @@ -9,8 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>InstallPad</RootNamespace>
<AssemblyName>InstallPad</AssemblyName>
<ApplicationIcon>
</ApplicationIcon>
<ApplicationIcon>icon.ico</ApplicationIcon>
<TargetZone>LocalIntranet</TargetZone>
<GenerateManifests>false</GenerateManifests>
</PropertyGroup>
Expand Down Expand Up @@ -205,6 +204,9 @@
<ItemGroup>
<None Include="data\images\about-logo.png" />
</ItemGroup>
<ItemGroup>
<Content Include="icon.ico" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down
42 changes: 21 additions & 21 deletions src/ApplicationDialog.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/ApplicationItem.cs
Expand Up @@ -428,7 +428,7 @@ public void WriteXml(XmlWriter writer)
// Only write if there is an option set. This could be more elegant.
if ((InstallerArguments != null && InstallerArguments.Length > 0) ||
(PostInstallScript != null && PostInstallScript.Length > 0) ||
this.SilentInstall || this.DownloadLatestVersion)
this.SilentInstall || this.DownloadLatestVersion || !this.Checked)
{

writer.WriteStartElement("Options");
Expand Down
4 changes: 2 additions & 2 deletions src/ControlList.cs
Expand Up @@ -328,9 +328,9 @@ protected void AlternateColorsOfEntries()
Color targetColor;
// Rows that are divisble by two are colored
if (this.tableLayout.GetRow(control) % 2 == 0)
targetColor = alternatingColor;
targetColor = Color.Transparent;
else
targetColor=Color.Transparent;
targetColor=alternatingColor;

if (control.BackColor != targetColor)
control.BackColor = targetColor;
Expand Down

0 comments on commit 3c67ae3

Please sign in to comment.