[Monodevelop-patches-list] r1020 - in trunk/MonoDevelop: . src/Main/Base/Gui/CompletionDatabaseWizard src/Main/Base/Gui/HtmlControl

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Tue Feb 24 16:50:04 EST 2004


Author: jluke
Date: 2004-02-24 16:50:03 -0500 (Tue, 24 Feb 2004)
New Revision: 1020

Modified:
   trunk/MonoDevelop/FAQS
   trunk/MonoDevelop/src/Main/Base/Gui/CompletionDatabaseWizard/GenerateDatabase.cs
   trunk/MonoDevelop/src/Main/Base/Gui/HtmlControl/MozillaControl.cs
Log:
fix buglet in restarting MD, small updates


Modified: trunk/MonoDevelop/FAQS
===================================================================
--- trunk/MonoDevelop/FAQS	2004-02-24 21:41:54 UTC (rev 1019)
+++ trunk/MonoDevelop/FAQS	2004-02-24 21:50:03 UTC (rev 1020)
@@ -1,3 +1,9 @@
+- Why do I get "** ERROR **: Must shutdown ORB from main thread"
+  when exiting MonoDevelop?
+
+There was a bug in ORBit2 2.8.2 and lower.  Please upgrade ORBit2
+if you do not want to see this error anymore.
+
 - Why aren't my C# files syntax highlighted?
 
 GNOME doesn't recognize *.cs files as the text/x-csharp
@@ -18,3 +24,9 @@
 install a newer version or the development counterpart
 of that package and rerun ./configure
 ex. gnome-vfs2-devel-2.4.1-1.rpm
+
+- Is there anonymous access to the source?
+
+Yes, via snapshots at http://devservices.go-mono.com/MonoDevelop/
+Hopefully now that subversion is 1.0 we will get our anonymous
+mirror of the repository up and going again.

Modified: trunk/MonoDevelop/src/Main/Base/Gui/CompletionDatabaseWizard/GenerateDatabase.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/CompletionDatabaseWizard/GenerateDatabase.cs	2004-02-24 21:41:54 UTC (rev 1019)
+++ trunk/MonoDevelop/src/Main/Base/Gui/CompletionDatabaseWizard/GenerateDatabase.cs	2004-02-24 21:50:03 UTC (rev 1020)
@@ -108,7 +108,9 @@
 			Console.WriteLine ("******************************************************************************");
 			Console.WriteLine ("Attempting to restart MonoDevelop, if you get any exceptions, restart manually");
 			Console.WriteLine ("******************************************************************************");
-			System.Diagnostics.Process.Start("MonoDevelop.exe");
+			// not everyone can run .exe's directly
+			System.Diagnostics.ProcessStartInfo psi = new System.Diagnostics.ProcessStartInfo ("mono", "./MonoDevelop.exe");
+			System.Diagnostics.Process.Start (psi);
 			Gtk.Application.Quit ();
 
 		}

Modified: trunk/MonoDevelop/src/Main/Base/Gui/HtmlControl/MozillaControl.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/HtmlControl/MozillaControl.cs	2004-02-24 21:41:54 UTC (rev 1019)
+++ trunk/MonoDevelop/src/Main/Base/Gui/HtmlControl/MozillaControl.cs	2004-02-24 21:50:03 UTC (rev 1020)
@@ -14,17 +14,22 @@
 {
 	public class MozillaControl : EmbedWidget, IWebBrowser
 	{
-		private static GLib.GType type;
+		private static GLib.GType gtype;
 		private string html;
 		private string css;
 		
-		static MozillaControl ()
+		public static new GLib.GType GType
 		{
-			type = RegisterGType (typeof (MozillaControl));
+			get
+			{
+				if (gtype == GLib.GType.Invalid)
+					gtype = RegisterGType (typeof (MozillaControl));
+				return gtype;
+			}
 		}
 		
 		//FIXME: pick a better path, one of the Environment dirs
-		public MozillaControl () : base (type)
+		public MozillaControl () : base (GType)
 		{
 			EmbedWidget.SetProfilePath ("/tmp", "MonoDevelop");
 		}




More information about the Monodevelop-patches-list mailing list