diff --git a/Libraries/UniversalEditor.UserInterface/MainWindow.cs b/Libraries/UniversalEditor.UserInterface/MainWindow.cs index 41fc93fb..5ae9a75f 100644 --- a/Libraries/UniversalEditor.UserInterface/MainWindow.cs +++ b/Libraries/UniversalEditor.UserInterface/MainWindow.cs @@ -852,7 +852,7 @@ namespace UniversalEditor.UserInterface private void InitStartPage() { - StartPagePanel lblStartPage = new StartPagePanel(); + StartPage lblStartPage = new StartPage(); InitDocTab("Start Page", "Start Page", lblStartPage); } diff --git a/Libraries/UniversalEditor.UserInterface/Panels/StartPagePanel.cs b/Libraries/UniversalEditor.UserInterface/Pages/StartPage.cs similarity index 91% rename from Libraries/UniversalEditor.UserInterface/Panels/StartPagePanel.cs rename to Libraries/UniversalEditor.UserInterface/Pages/StartPage.cs index a3641ea3..9649c166 100644 --- a/Libraries/UniversalEditor.UserInterface/Panels/StartPagePanel.cs +++ b/Libraries/UniversalEditor.UserInterface/Pages/StartPage.cs @@ -1,10 +1,10 @@ // -// SolutionExplorerPanel.cs +// StartPage.cs - the initial Page the user sees at application startup // // Author: // Michael Becker // -// Copyright (c) 2019 +// Copyright (c) 2019-2021 Mike Becker's Software // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -27,7 +27,7 @@ using MBS.Framework.UserInterface.Layouts; namespace UniversalEditor.UserInterface.Panels { [ContainerLayout("~/Panels/StartPage.glade", "GtkWindow")] - public class StartPagePanel : Panel + public class StartPage : Page { private Button cmdCreateNewProject; private Button cmdOpenExistingProject; @@ -37,6 +37,11 @@ namespace UniversalEditor.UserInterface.Panels private Label lblHeader; private Label lblNewsTitle; + public StartPage() + { + Title = "Start Page"; + } + protected override void OnCreated(EventArgs e) { base.OnCreated(e); diff --git a/Libraries/UniversalEditor.UserInterface/UniversalEditor.UserInterface.csproj b/Libraries/UniversalEditor.UserInterface/UniversalEditor.UserInterface.csproj index f5b94d8e..89b11fdc 100644 --- a/Libraries/UniversalEditor.UserInterface/UniversalEditor.UserInterface.csproj +++ b/Libraries/UniversalEditor.UserInterface/UniversalEditor.UserInterface.csproj @@ -93,7 +93,6 @@ - @@ -136,6 +135,7 @@ +