[Monodevelop-patches-list] r1598 - in trunk/MonoDevelop/src/Main/Base: . Gui/Dialogs Gui/Workbench

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Mon May 10 13:53:13 EDT 2004


Author: tberman
Date: 2004-05-10 13:53:13 -0400 (Mon, 10 May 2004)
New Revision: 1598

Modified:
   trunk/MonoDevelop/src/Main/Base/ChangeLog
   trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/SplashScreen.cs
   trunk/MonoDevelop/src/Main/Base/Gui/Workbench/DefaultWorkbench.cs
Log:
random updates


Modified: trunk/MonoDevelop/src/Main/Base/ChangeLog
===================================================================
--- trunk/MonoDevelop/src/Main/Base/ChangeLog	2004-05-09 22:29:34 UTC (rev 1597)
+++ trunk/MonoDevelop/src/Main/Base/ChangeLog	2004-05-10 17:53:13 UTC (rev 1598)
@@ -1,3 +1,8 @@
+2004-05-10  Todd Berman  <tberman at sevenl.net>
+
+	* Gui/Workbench/DefaultWorkbench.cs: Attempt non-metacity toplevel fix
+	* Gui/Dialogs/SplashScreen.cs: explicity set this to popup
+
 2004-05-09  Todd Berman  <tberman at sevenl.net>
 
 	* Gui/Workbench/Layouts/SdiWorkspaceLayout.cs: use DragNotebook

Modified: trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/SplashScreen.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/SplashScreen.cs	2004-05-09 22:29:34 UTC (rev 1597)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/SplashScreen.cs	2004-05-10 17:53:13 UTC (rev 1598)
@@ -18,7 +18,7 @@
 			}
 		}		
 		
-		public SplashScreenForm() : base ("Splash")
+		public SplashScreenForm() : base (Gtk.WindowType.Popup)
 		{
 			this.Decorated = false;
 			this.WindowPosition = WindowPosition.Center;

Modified: trunk/MonoDevelop/src/Main/Base/Gui/Workbench/DefaultWorkbench.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Workbench/DefaultWorkbench.cs	2004-05-09 22:29:34 UTC (rev 1597)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Workbench/DefaultWorkbench.cs	2004-05-10 17:53:13 UTC (rev 1598)
@@ -123,25 +123,11 @@
 			}
 		}
 
-		public static new GLib.GType GType
+		public DefaultWorkbench() : base (Gtk.WindowType.Toplevel)
 		{
-			get
-			{
-				if (gtype == GLib.GType.Invalid)
-					gtype = RegisterGType (typeof (DefaultWorkbench));
-				return gtype;
-			}
-		}
-
-		//FIXME: When it becomes possible, set this ctor to change ctor
-		//to the windowtype ctor with WindowType.TopLevel
-		public DefaultWorkbench() : base (GType)
-		{
 			Title = "MonoDevelop";
 			Console.WriteLine ("Creating DefaultWorkbench");
 			ResourceService resourceService = (ResourceService)ServiceManager.Services.GetService(typeof(IResourceService));
-			// FIXME: edit the name in the resource
-			//Title = resourceService.GetString("MainWindow.DialogName");
 		
 			windowChangeEventHandler = new EventHandler(OnActiveWindowChanged);
 




More information about the Monodevelop-patches-list mailing list