[Monodevelop-patches-list] r2050 - in trunk/MonoDevelop/Core/src/Main/StartUp: . Dialogs
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Fri Dec 3 23:03:53 EST 2004
Author: jluke
Date: 2004-12-03 23:03:52 -0500 (Fri, 03 Dec 2004)
New Revision: 2050
Modified:
trunk/MonoDevelop/Core/src/Main/StartUp/ChangeLog
trunk/MonoDevelop/Core/src/Main/StartUp/Dialogs/ExceptionBox.cs
trunk/MonoDevelop/Core/src/Main/StartUp/Makefile.am
trunk/MonoDevelop/Core/src/Main/StartUp/MonoDevelopMain.cs
Log:
2004-12-03 John Luke <john.luke at gmail.com>
* Dialogs/ExceptionDialog.cs: remove obsolete gtype stuff
* MonoDevelopMain.cs: comment out unused code
* Makefile.am: remove ExceptionDialog from build
Modified: trunk/MonoDevelop/Core/src/Main/StartUp/ChangeLog
===================================================================
--- trunk/MonoDevelop/Core/src/Main/StartUp/ChangeLog 2004-12-04 03:44:43 UTC (rev 2049)
+++ trunk/MonoDevelop/Core/src/Main/StartUp/ChangeLog 2004-12-04 04:03:52 UTC (rev 2050)
@@ -1,3 +1,9 @@
+2004-12-03 John Luke <john.luke at gmail.com>
+
+ * Dialogs/ExceptionDialog.cs: remove obsolete gtype stuff
+ * MonoDevelopMain.cs: comment out unused code
+ * Makefile.am: remove ExceptionDialog from build
+
2004-09-18 Todd Berman <tberman at off.net>
* MonoDevelopMain.cs: Check if Build and Revision are not 0, and if
Modified: trunk/MonoDevelop/Core/src/Main/StartUp/Dialogs/ExceptionBox.cs
===================================================================
--- trunk/MonoDevelop/Core/src/Main/StartUp/Dialogs/ExceptionBox.cs 2004-12-04 03:44:43 UTC (rev 2049)
+++ trunk/MonoDevelop/Core/src/Main/StartUp/Dialogs/ExceptionBox.cs 2004-12-04 04:03:52 UTC (rev 2050)
@@ -19,8 +19,8 @@
}
public delegate void ButtonHandler(ExceptionDialog eb, DialogResult dr);
- public class ExceptionDialog:Gtk.Window {
-
+ public class ExceptionDialog : Gtk.Window
+ {
private Gtk.Fixed fixedcontainer;
private Gtk.Button continueButton;
private Gtk.Button ignoreButton;
@@ -33,14 +33,8 @@
private Gtk.Image image;
private Exception exceptionThrown;
private ButtonHandler buttonhandler;
- static GLib.GType type;
-
- static ExceptionDialog() {
- type = RegisterGType(typeof(ExceptionDialog));
- }
-
- public ExceptionDialog(Exception e):base(type)
+ public ExceptionDialog (Exception e) : base ("Exception raised error")
{
this.exceptionThrown = e;
InitializeComponent();
@@ -193,7 +187,6 @@
//
// this
//
- this.Title = "Exception raised error";
this.Resizable = false;
this.WindowPosition = Gtk.WindowPosition.Center;
this.Add(fixedcontainer);
Modified: trunk/MonoDevelop/Core/src/Main/StartUp/Makefile.am
===================================================================
--- trunk/MonoDevelop/Core/src/Main/StartUp/Makefile.am 2004-12-04 03:44:43 UTC (rev 2049)
+++ trunk/MonoDevelop/Core/src/Main/StartUp/Makefile.am 2004-12-04 04:03:52 UTC (rev 2050)
@@ -4,7 +4,6 @@
MonoDevelopMain.cs \
MonoDevelopOptions.cs \
Dialogs/AddInTreeSettingsHandler.cs \
-Dialogs/ExceptionBox.cs \
AssemblyInfo.cs
build_sources = $(addprefix $(srcdir)/, $(FILES))
Modified: trunk/MonoDevelop/Core/src/Main/StartUp/MonoDevelopMain.cs
===================================================================
--- trunk/MonoDevelop/Core/src/Main/StartUp/MonoDevelopMain.cs 2004-12-04 03:44:43 UTC (rev 2049)
+++ trunk/MonoDevelop/Core/src/Main/StartUp/MonoDevelopMain.cs 2004-12-04 04:03:52 UTC (rev 2050)
@@ -41,6 +41,8 @@
}
}
+/* unused code
+
static void ShowErrorBox(object sender, ThreadExceptionEventArgs eargs)
{
ExceptionDialog ed;
@@ -53,6 +55,7 @@
static void DialogResultHandler(ExceptionDialog ed, DialogResult dr) {
ed.Destroy();
}
+*/
/// <summary>
/// Starts the core of MonoDevelop.
More information about the Monodevelop-patches-list
mailing list