Added 'Create Document' dialog to GTK interface

This commit is contained in:
Michael Becker 2014-07-08 00:54:13 -04:00
parent 99ed3c23e2
commit 148c2d32a8

View File

@ -4,6 +4,7 @@ using Gtk;
using UniversalEditor;
using UniversalEditor.UserInterface;
using UniversalEditor.Accessors;
using UniversalEditor.Engines.GTK.Dialogs;
namespace UniversalEditor.Engines.GTK
{
@ -143,7 +144,12 @@ namespace UniversalEditor.Engines.GTK
public void NewFile ()
{
throw new System.NotImplementedException ();
CreateDocumentDialog dlg = new CreateDocumentDialog();
ResponseType result = (ResponseType)dlg.Run ();
if (result == ResponseType.Ok)
{
}
}
public void NewProject (bool combineObjects)