[Monodevelop-patches-list] r1462 - in trunk/MonoDevelop/src/Main/Base: . Gui/Dialogs
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Wed Apr 14 18:10:10 EDT 2004
Author: jluke
Date: 2004-04-14 18:10:09 -0400 (Wed, 14 Apr 2004)
New Revision: 1462
Modified:
trunk/MonoDevelop/src/Main/Base/ChangeLog
trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/CommonAboutDialog.cs
Log:
chain to base (GType)
Modified: trunk/MonoDevelop/src/Main/Base/ChangeLog
===================================================================
--- trunk/MonoDevelop/src/Main/Base/ChangeLog 2004-04-14 10:20:33 UTC (rev 1461)
+++ trunk/MonoDevelop/src/Main/Base/ChangeLog 2004-04-14 22:10:09 UTC (rev 1462)
@@ -1,3 +1,8 @@
+2004-04-14 John Luke <jluke at cfl.rr.com>
+
+ * Gui/Dialogs/CommonAboutDialog.cs: chain to base (GType)
+ so Gtk# cvs is happy
+
2004-04-14 Nick Drochak <ndrochak at gol.com>
* Gui/Pads/ProjectBrowser/ProjectBrowserView.cs: When file is added, put it
Modified: trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/CommonAboutDialog.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/CommonAboutDialog.cs 2004-04-14 10:20:33 UTC (rev 1461)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/CommonAboutDialog.cs 2004-04-14 22:10:09 UTC (rev 1462)
@@ -111,7 +111,7 @@
public class CommonAboutDialog : Dialog
{
- static GLib.GType type;
+ static GLib.GType gtype;
static FileUtilityService fileUtilityService = (FileUtilityService)ServiceManager.Services.GetService(typeof(FileUtilityService));
AuthorAboutTabPage aatp;
@@ -120,13 +120,19 @@
static PropertyService propertyService = (PropertyService)ServiceManager.Services.GetService(typeof(PropertyService));
- static CommonAboutDialog ()
+ public static new GLib.GType GType
{
- type = RegisterGType (typeof (CommonAboutDialog));
+ get {
+ if (gtype == GLib.GType.Invalid)
+ gtype = RegisterGType (typeof (CommonAboutDialog));
+ return gtype;
+ }
}
- public CommonAboutDialog() : base (GettextCatalog.GetString ("About MonoDevelop"), (Gtk.Window) WorkbenchSingleton.Workbench, DialogFlags.DestroyWithParent)
+ public CommonAboutDialog () : base (GType)
{
+ this.Title = GettextCatalog.GetString ("About MonoDevelop");
+ this.TransientFor = (Gtk.Window) WorkbenchSingleton.Workbench;
ResourceService resourceService = (ResourceService) ServiceManager.Services.GetService(typeof (IResourceService));
aboutPictureScrollBox = new ScrollBox ();
More information about the Monodevelop-patches-list
mailing list