aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS_TheReturn/FileSkimmerBackend.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-02-05 11:54:33 -0500
committerMichael <[email protected]>2017-02-05 11:54:33 -0500
commit4c048779ce446457f51895f8caca13bdb81e5830 (patch)
treed0323e7568c13dab2c4862b16465c89bc358a707 /ShiftOS_TheReturn/FileSkimmerBackend.cs
parentbf8d9f5099b25b2756c574ff794c7b08eb01fb2d (diff)
downloadshiftos_thereturn-4c048779ce446457f51895f8caca13bdb81e5830.tar.gz
shiftos_thereturn-4c048779ce446457f51895f8caca13bdb81e5830.tar.bz2
shiftos_thereturn-4c048779ce446457f51895f8caca13bdb81e5830.zip
Fix downloader UI
It now shoes the icon of the file it's downloading... and I just misspelled 'shows' as 'shoes' and don't feel like correcting it.
Diffstat (limited to 'ShiftOS_TheReturn/FileSkimmerBackend.cs')
-rw-r--r--ShiftOS_TheReturn/FileSkimmerBackend.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/ShiftOS_TheReturn/FileSkimmerBackend.cs b/ShiftOS_TheReturn/FileSkimmerBackend.cs
index 8030a6e..6e2f6be 100644
--- a/ShiftOS_TheReturn/FileSkimmerBackend.cs
+++ b/ShiftOS_TheReturn/FileSkimmerBackend.cs
@@ -131,7 +131,7 @@ namespace ShiftOS.Engine
public static System.Drawing.Image GetImage(string filepath)
{
- return new Bitmap(42, 42);
+ return _fs.GetImage(filepath);
}
}
@@ -143,6 +143,7 @@ namespace ShiftOS.Engine
void OpenFile(string filepath);
void GetPath(string[] filetypes, FileOpenerStyle style, Action<string> callback);
void OpenDirectory(string path);
+ Image GetImage(string path);
}