aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms
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.WinForms
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.WinForms')
-rw-r--r--ShiftOS.WinForms/Applications/Shiftnet.cs2
-rw-r--r--ShiftOS.WinForms/Program.cs4
2 files changed, 4 insertions, 2 deletions
diff --git a/ShiftOS.WinForms/Applications/Shiftnet.cs b/ShiftOS.WinForms/Applications/Shiftnet.cs
index d89b55a..2425910 100644
--- a/ShiftOS.WinForms/Applications/Shiftnet.cs
+++ b/ShiftOS.WinForms/Applications/Shiftnet.cs
@@ -103,8 +103,6 @@ namespace ShiftOS.WinForms.Applications
public void ShiftnetNavigate(string Url, bool pushHistory = true)
{
-
-
if (Url.EndsWith(".rnp") || !Url.Contains("."))
{
if (!string.IsNullOrEmpty(CurrentUrl) && pushHistory)
diff --git a/ShiftOS.WinForms/Program.cs b/ShiftOS.WinForms/Program.cs
index ad6c772..0ed5b02 100644
--- a/ShiftOS.WinForms/Program.cs
+++ b/ShiftOS.WinForms/Program.cs
@@ -159,5 +159,9 @@ namespace ShiftOS.WinForms
}
+ public Image GetImage(string path)
+ {
+ return Applications.FileSkimmer.GetImage(FileSkimmerBackend.GetFileType(path));
+ }
}
}