[Monodevelop-patches-list] r584 - trunk/MonoDevelop/src/Main/StartUp

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Mon Jan 19 21:32:18 EST 2004


Author: jluke
Date: 2004-01-19 21:32:18 -0500 (Mon, 19 Jan 2004)
New Revision: 584

Modified:
   trunk/MonoDevelop/src/Main/StartUp/Makefile
   trunk/MonoDevelop/src/Main/StartUp/SharpDevelopMain.cs
Log:
initialize Gnome (needed by some GNOME widgets)


Modified: trunk/MonoDevelop/src/Main/StartUp/Makefile
===================================================================
--- trunk/MonoDevelop/src/Main/StartUp/Makefile	2004-01-20 02:31:18 UTC (rev 583)
+++ trunk/MonoDevelop/src/Main/StartUp/Makefile	2004-01-20 02:32:18 UTC (rev 584)
@@ -40,5 +40,6 @@
 		/r:../../../build/bin/SharpDevelop.Base.dll \
 		/r:glib-sharp.dll \
 		/define:GTK /r:gtk-sharp.dll /r:gdk-sharp.dll \
+		/r:gnome-sharp.dll \
 		$(RESOURCES) $(SOURCES)
 

Modified: trunk/MonoDevelop/src/Main/StartUp/SharpDevelopMain.cs
===================================================================
--- trunk/MonoDevelop/src/Main/StartUp/SharpDevelopMain.cs	2004-01-20 02:31:18 UTC (rev 583)
+++ trunk/MonoDevelop/src/Main/StartUp/SharpDevelopMain.cs	2004-01-20 02:32:18 UTC (rev 584)
@@ -57,7 +57,7 @@
 		[STAThread()]
 		public static void Main(string[] args)
 		{
-			Gtk.Application.Init ();
+			Gnome.Program program = new Gnome.Program ("MonoDevelop", "0.1", Gnome.Modules.UI, args);
 			Gdk.Threads.Init();
 			commandLineArgs = args;
 			bool noLogo = false;




More information about the Monodevelop-patches-list mailing list