aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Engine
diff options
context:
space:
mode:
Diffstat (limited to 'TimeHACK.Engine')
-rw-r--r--TimeHACK.Engine/DesktopController.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/TimeHACK.Engine/DesktopController.cs b/TimeHACK.Engine/DesktopController.cs
index a22df95..f507ab8 100644
--- a/TimeHACK.Engine/DesktopController.cs
+++ b/TimeHACK.Engine/DesktopController.cs
@@ -49,7 +49,11 @@ namespace TimeHACK.Engine
{
if (Path.GetFileName(dir) != "_data.info")
{
- theView.Items.Add(Path.GetFileName(dir), 12);
+ int appIcon = 12;
+
+ if (new FileInfo(dir).Extension == ".exe") appIcon = 8;
+
+ theView.Items.Add(Path.GetFileName(dir), appIcon);
theView.FindItemWithText(Path.GetFileName(dir)).Tag = dir;
}
}