aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/GlobalPrograms/WinClassicWindowsExplorer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'TimeHACK.Main/GlobalPrograms/WinClassicWindowsExplorer.cs')
-rw-r--r--TimeHACK.Main/GlobalPrograms/WinClassicWindowsExplorer.cs16
1 files changed, 15 insertions, 1 deletions
diff --git a/TimeHACK.Main/GlobalPrograms/WinClassicWindowsExplorer.cs b/TimeHACK.Main/GlobalPrograms/WinClassicWindowsExplorer.cs
index 2c84133..c2b53bc 100644
--- a/TimeHACK.Main/GlobalPrograms/WinClassicWindowsExplorer.cs
+++ b/TimeHACK.Main/GlobalPrograms/WinClassicWindowsExplorer.cs
@@ -110,13 +110,27 @@ namespace TimeHACK.OS.Win95.Win95Apps
}
foreach (String str in Directory.GetFiles(currentDirectory))
{
+ // Get app Icon
+
+ int AppIcon = 1;
+
+ switch (Path.GetFileName(str))
+ {
+ case ".exe":
+ break;
+ }
+
if (IsFileOpenDialog == true || IsFileSaveDialog == true)
{
if (!(Path.GetFileName(str) == "_data.info"))
{
if (new FileInfo(str).Extension == onlyViewExtension)
{
- this.mainView.Items.Add(Path.GetFileName(str), 2);
+ if (new FileInfo(str).Extension == ".exe")
+ {
+ this.mainView.Items.Add(Path.GetFileName(str), 2);
+ }
+
}
}
} else {