aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/WinformsDesktop.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-02-04 11:23:58 -0500
committerMichael <[email protected]>2017-02-04 11:23:58 -0500
commit22abdea7529c2e51031ff4408d489e1e96414e5d (patch)
tree8f4e28c8d1ca3af84f8276d34beea2e6fe510488 /ShiftOS.WinForms/WinformsDesktop.cs
parent28a087d2d4961fd80d827df968de0f6f63da07eb (diff)
downloadshiftos_thereturn-22abdea7529c2e51031ff4408d489e1e96414e5d.tar.gz
shiftos_thereturn-22abdea7529c2e51031ff4408d489e1e96414e5d.tar.bz2
shiftos_thereturn-22abdea7529c2e51031ff4408d489e1e96414e5d.zip
Remove unused applications and fix panel buttons
Diffstat (limited to 'ShiftOS.WinForms/WinformsDesktop.cs')
-rw-r--r--ShiftOS.WinForms/WinformsDesktop.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/ShiftOS.WinForms/WinformsDesktop.cs b/ShiftOS.WinForms/WinformsDesktop.cs
index 528839d..9490850 100644
--- a/ShiftOS.WinForms/WinformsDesktop.cs
+++ b/ShiftOS.WinForms/WinformsDesktop.cs
@@ -34,6 +34,7 @@ using System.Windows.Forms;
using ShiftOS.Engine;
using static ShiftOS.Engine.SkinEngine;
using ShiftOS.WinForms.Tools;
+using ShiftOS.WinForms.Applications;
/// <summary>
/// Winforms desktop.
@@ -131,7 +132,7 @@ namespace ShiftOS.WinForms
pnlbtn.BackgroundImageLayout = GetImageLayout("panelbutton");
var pnlbtntext = new Label();
- pnlbtntext.Text = form.Text;
+ pnlbtntext.Text = NameChangerBackend.GetName(form.ParentWindow);
pnlbtntext.AutoSize = true;
pnlbtntext.Location = LoadedSkin.PanelButtonFromLeft;
pnlbtntext.ForeColor = LoadedSkin.PanelButtonTextColor;