aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/WinformsDesktop.cs
diff options
context:
space:
mode:
authorRylan/wowmom98 <[email protected]>2017-02-04 12:22:11 -0500
committerRylan/wowmom98 <[email protected]>2017-02-04 12:22:11 -0500
commit6092cf1f9b56413ae0b7937f790b99046f2614be (patch)
tree9758a9502e23b7b89b0af3d1abc0909b0a5c5cb5 /ShiftOS.WinForms/WinformsDesktop.cs
parent8a445f961e05c5b432053ff3209bcb9b70f4aa96 (diff)
parent1f87bfe6c599e3c0e471096600a38647da263fa9 (diff)
downloadshiftos_thereturn-6092cf1f9b56413ae0b7937f790b99046f2614be.tar.gz
shiftos_thereturn-6092cf1f9b56413ae0b7937f790b99046f2614be.tar.bz2
shiftos_thereturn-6092cf1f9b56413ae0b7937f790b99046f2614be.zip
Merge branch 'master' of https://github.com/shiftos-game/ShiftOS
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;