diff options
author | Miguel de Icaza <miguel@gnome.org> | 2009-04-29 02:45:59 +0400 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2009-04-29 02:45:59 +0400 |
commit | 06bab9b4a4b4e2305907b470e0bb03d2429ca592 (patch) | |
tree | eb18aa8f72f4f25c77ab0b5784df215a270622ec | |
parent | b4bd5a4c02264c3150284dcf3f155beb6e96d6f7 (diff) |
Backport
svn path=/branches/mono-2-4/mono-tools/; revision=132906
-rw-r--r-- | gsharp/MainWindow.cs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gsharp/MainWindow.cs b/gsharp/MainWindow.cs index f362ccf7..027a22da 100644 --- a/gsharp/MainWindow.cs +++ b/gsharp/MainWindow.cs @@ -379,10 +379,14 @@ namespace Mono.CSharp.Gui } } - protected virtual void OnDeleteEvent (object o, Gtk.DeleteEventArgs args) + protected override bool OnDeleteEvent (Gdk.Event args) { - if (!MainClass.Attached) + if (!MainClass.Attached){ + Console.WriteLine ("Quitting"); Application.Quit (); + } + + return false; } protected virtual void OnDescribeTypeActionActivated (object sender, System.EventArgs e) |