Refactor DocumentPropertiesDialogMode into separate file

This commit is contained in:
Michael Becker 2019-07-30 23:32:50 -04:00
parent 85957abded
commit 1a048fcb00
3 changed files with 32 additions and 6 deletions

View File

@ -30,12 +30,6 @@ using MBS.Framework.Drawing;
namespace UniversalEditor.UserInterface.Dialogs
{
public enum DocumentPropertiesDialogMode
{
Open,
Save
}
[ContainerLayout("~/Dialogs/DocumentPropertiesDialog.glade", "GtkDialog")]
public class DocumentPropertiesDialog : Dialog
{

View File

@ -0,0 +1,31 @@
//
// DocumentPropertiesDialogMode.cs
//
// Author:
// Mike Becker <alcexhim@gmail.com>
//
// Copyright (c) 2019 Mike Becker
//
// 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
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
using System;
namespace UniversalEditor.UserInterface.Dialogs
{
public enum DocumentPropertiesDialogMode
{
Open,
Save
}
}

View File

@ -109,6 +109,7 @@
<Compile Include="Panels\StartPagePanel.cs" />
<Compile Include="Editors\FileSystem\FileSystemEditorSettingsProvider.cs" />
<Compile Include="Editors\Text\Plain\PlainTextEditorSettingsProvider.cs" />
<Compile Include="Dialogs\DocumentPropertiesDialogMode.cs" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">