mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-23 09:15:39 +00:00
20 lines
490 B
C#
20 lines
490 B
C#
using System.Diagnostics;
|
|
using MonoDevelop.Ide.Desktop;
|
|
|
|
namespace MonoDevelop.GtkSharp.Addin
|
|
{
|
|
public class GladeDesktopApplication : DesktopApplication
|
|
{
|
|
private readonly string _filename;
|
|
|
|
public GladeDesktopApplication(string filename) : base("GladeApp", "Glade", true)
|
|
{
|
|
_filename = filename;
|
|
}
|
|
|
|
public override void Launch(params string[] files)
|
|
{
|
|
Process.Start("glade", _filename);
|
|
}
|
|
}
|
|
} |