Skip to content

Commit

Permalink
New project disabled status added. Reused aborted gif images but may …
Browse files Browse the repository at this point in the history
…need replacements.
  • Loading branch information
zionyx committed Oct 27, 2014
1 parent ad0b63e commit 1248aa2
Show file tree
Hide file tree
Showing 9 changed files with 43 additions and 0 deletions.
2 changes: 2 additions & 0 deletions HudsonTrayTracker/BusinessComponents/HudsonService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ private BuildStatus GetStatus(string status, bool? stuck)
value = BuildStatusEnum.Failed;
else if (status.StartsWith("aborted"))
value = BuildStatusEnum.Aborted;
else if (status.StartsWith("disabled"))
value = BuildStatusEnum.Disabled;
else
value = BuildStatusEnum.Unknown;

Expand Down
1 change: 1 addition & 0 deletions HudsonTrayTracker/Entities/BuildStatus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ namespace Hudson.TrayTracker.Entities
public enum BuildStatusEnum
{
Unknown,
Disabled,
Aborted,
Successful,
Indeterminate,
Expand Down
4 changes: 4 additions & 0 deletions HudsonTrayTracker/HudsonTrayTracker.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,10 @@
<EmbeddedResource Include="Resources\TrayIcons\Unstable_BuildInProgress.ico" />
<EmbeddedResource Include="Resources\StatusIcons\Aborted.gif" />
<EmbeddedResource Include="Resources\StatusIcons\Unknown.gif" />
<EmbeddedResource Include="Resources\StatusIcons\Disabled.gif" />
<EmbeddedResource Include="Resources\StatusIcons\Disabled_Stuck.gif" />
<EmbeddedResource Include="Resources\TrayIcons\Disabled.ico" />
<EmbeddedResource Include="Resources\TrayIcons\Disabled_Stuck.ico" />
<EmbeddedResource Include="UI\ClaimBuildForm.resx">
<DependentUpon>ClaimBuildForm.cs</DependentUpon>
</EmbeddedResource>
Expand Down
27 changes: 27 additions & 0 deletions HudsonTrayTracker/HudsonTrayTrackerResources.Designer.cs

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

9 changes: 9 additions & 0 deletions HudsonTrayTracker/HudsonTrayTrackerResources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,15 @@ Do you want to download it now (the application will be closed)?</value>
<data name="BuildStatus_Successful_Stuck" xml:space="preserve">
<value>Successful. Build is stuck.</value>
</data>
<data name="BuildStatus_Disabled" xml:space="preserve">
<value>Project disabled</value>
</data>
<data name="BuildStatus_Disabled_BuildInProgress" xml:space="preserve">
<value>Project disabled. Build in progress.</value>
</data>
<data name="BuildStatus_Disabled_Stuck" xml:space="preserve">
<value>Project disabled. Build is stuck.</value>
</data>
<data name="BuildStatus_Unknown" xml:space="preserve">
<value>Unknown status</value>
</data>
Expand Down
Binary file added HudsonTrayTracker/Resources/StatusIcons/Disabled.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.

0 comments on commit 1248aa2

Please sign in to comment.