# HG changeset patch # User IBBoard # Date 1290542737 0 # Node ID 52b7315768451482ded20d42b463891aeaf06780 # Parent 19e7123aafd5b188d4cccc0cbd2b4219a48801ec Fixes #79: Make use of GTK# callback for exceptions * Tests of calling method on GLib.ExceptionManager to trigger event showed dialog appropriately Also: * Remove unused code * Commit changes to objects.xml diff -r 19e7123aafd5 -r 52b731576845 FrmMainWindow.cs --- a/FrmMainWindow.cs Tue Nov 09 20:54:38 2010 +0000 +++ b/FrmMainWindow.cs Tue Nov 23 20:05:37 2010 +0000 @@ -92,18 +92,6 @@ dialog.Hide(); dialog.Dispose(); } - - private static string GetStackTrace(Exception ex) - { - string message = ""; - - if (ex != null) - { - message = "Caused by: " + ex.GetType().FullName + Environment.NewLine + ex.StackTrace + Environment.NewLine ; - } - - return message; - } public FrmMainWindow() : this(new string[0]) { diff -r 19e7123aafd5 -r 52b731576845 gtk-gui/objects.xml --- a/gtk-gui/objects.xml Tue Nov 09 20:54:38 2010 +0000 +++ b/gtk-gui/objects.xml Tue Nov 23 20:05:37 2010 +0000 @@ -1,2 +1,6 @@ + + + + \ No newline at end of file