Mercurial > repos > IBBoard.WarFoundry.GUI.GTK
changeset 74:52b731576845
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
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 23 Nov 2010 20:05:37 +0000 |
parents | 19e7123aafd5 |
children | 2ceae5d685d8 |
files | FrmMainWindow.cs gtk-gui/objects.xml |
diffstat | 2 files changed, 4 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- 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]) {
--- 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 @@ <objects attr-sync="on"> + <object type="IBBoard.WarFoundry.GTK.Widgets.UnitDisplayWidget" palette-category="WarFoundry GTK# GUI" allow-children="false" base-type="Gtk.Bin"> + <itemgroups /> + <signals /> + </object> </objects> \ No newline at end of file