aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/WindowBorder.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ShiftOS.WinForms/WindowBorder.cs')
-rw-r--r--ShiftOS.WinForms/WindowBorder.cs20
1 files changed, 2 insertions, 18 deletions
diff --git a/ShiftOS.WinForms/WindowBorder.cs b/ShiftOS.WinForms/WindowBorder.cs
index be59c70..bb9b478 100644
--- a/ShiftOS.WinForms/WindowBorder.cs
+++ b/ShiftOS.WinForms/WindowBorder.cs
@@ -36,6 +36,7 @@ using static ShiftOS.Engine.SkinEngine;
using System.Runtime.InteropServices;
using ShiftOS.Engine;
using ShiftOS.WinForms.Tools;
+using ShiftOS.WinForms.Applications;
/// <summary>
/// Window border.
@@ -211,7 +212,7 @@ namespace ShiftOS.WinForms
/// </summary>
public void Setup()
{
- this.lbtitletext.Text = Localization.Parse(this._parentWindow.Text);
+ this.lbtitletext.Text = NameChangerBackend.GetName(ParentWindow);
if (SaveSystem.CurrentSave != null)
{
@@ -232,23 +233,6 @@ namespace ShiftOS.WinForms
}
/// <summary>
- /// Gets or sets the text.
- /// </summary>
- /// <value>The text.</value>
- public override string Text
- {
- get
- {
- return lbtitletext?.Text;
- }
-
- set
- {
- lbtitletext.Text = value;
- }
- }
-
- /// <summary>
/// Setups the skin.
/// </summary>
/// <returns>The skin.</returns>