diff options
| author | Michael <[email protected]> | 2017-04-22 12:44:26 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-04-22 12:44:26 -0400 |
| commit | e63e1d65f7445988d9889a7b5a54b380ddb514e8 (patch) | |
| tree | 4d466a7f41a2e1d04c70e2dff72659e93d33b616 /ShiftOS.WinForms | |
| parent | e05fc88500525e8c9b9e497e91aa7b9d04996019 (diff) | |
| download | shiftos_thereturn-e63e1d65f7445988d9889a7b5a54b380ddb514e8.tar.gz shiftos_thereturn-e63e1d65f7445988d9889a7b5a54b380ddb514e8.tar.bz2 shiftos_thereturn-e63e1d65f7445988d9889a7b5a54b380ddb514e8.zip | |
Enable GIF loading
Diffstat (limited to 'ShiftOS.WinForms')
| -rw-r--r-- | ShiftOS.WinForms/Applications/GraphicPicker.cs | 2 | ||||
| -rw-r--r-- | ShiftOS.WinForms/WinformsDesktop.cs | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/ShiftOS.WinForms/Applications/GraphicPicker.cs b/ShiftOS.WinForms/Applications/GraphicPicker.cs index b3dd8bf..4f3f2bb 100644 --- a/ShiftOS.WinForms/Applications/GraphicPicker.cs +++ b/ShiftOS.WinForms/Applications/GraphicPicker.cs @@ -83,7 +83,7 @@ namespace ShiftOS.WinForms.Applications public void btnidlebrowse_Click(object s, EventArgs a) { - AppearanceManager.SetupDialog(new FileDialog(new[] { ".png", ".jpg", ".bmp", ".pic" }, FileOpenerStyle.Open, new Action<string>((file) => + AppearanceManager.SetupDialog(new FileDialog(new[] { ".png", ".gif", ".jpg", ".bmp", ".pic" }, FileOpenerStyle.Open, new Action<string>((file) => { ImageAsBinary = Utils.ReadAllBytes(file); System.IO.File.WriteAllBytes("temp_bin.bmp", ImageAsBinary); diff --git a/ShiftOS.WinForms/WinformsDesktop.cs b/ShiftOS.WinForms/WinformsDesktop.cs index d15c04d..61c371e 100644 --- a/ShiftOS.WinForms/WinformsDesktop.cs +++ b/ShiftOS.WinForms/WinformsDesktop.cs @@ -456,7 +456,6 @@ namespace ShiftOS.WinForms UserControl w = (UserControl)Activator.CreateInstance(widget.Value, null); w.Location = WidgetManager.LoadLocation(w.GetType()); - w.Top -= desktoppanel.Height; pnlwidgetlayer.Controls.Add(w); MakeWidgetMovable(w); Widgets.Add(w as IDesktopWidget); |
