[Monodevelop-patches-list] r932 - trunk/MonoDevelop/src/Main/Base/Gui/Dialogs
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Mon Feb 16 19:11:12 EST 2004
Author: jluke
Date: 2004-02-16 19:11:11 -0500 (Mon, 16 Feb 2004)
New Revision: 932
Modified:
trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/CommonAboutDialog.cs
trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/NewProjectDialog.cs
trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/SharpDevelopAboutPanels.cs
trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/SplashScreen.cs
trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/TipOfTheDay.cs
trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/TreeViewOptions.cs
trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/ViewGPLDialog.cs
trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/WordCountDialog.cs
Log:
remove cruft
Modified: trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/CommonAboutDialog.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/CommonAboutDialog.cs 2004-02-16 23:44:44 UTC (rev 931)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/CommonAboutDialog.cs 2004-02-17 00:11:11 UTC (rev 932)
@@ -14,14 +14,13 @@
using Gdk;
using Gtk;
-using GtkSharp;
using Pango;
namespace ICSharpCode.SharpDevelop.Gui.Dialogs
{
public class ScrollBox : DrawingArea
{
- static GLib.GType type;
+ static GLib.GType gtype;
Pixbuf image;
string text;
int scroll = -220;
@@ -35,12 +34,17 @@
get { return hndlr; }
}
- static ScrollBox ()
+ public static new GLib.GType GType
{
- type = RegisterGType (typeof (ScrollBox));
+ get
+ {
+ if (gtype == GLib.GType.Invalid)
+ gtype = RegisterGType (typeof (ScrollBox));
+ return gtype;
+ }
}
- public ScrollBox() : base (type)
+ public ScrollBox() : base (GType)
{
this.RequestSize = new System.Drawing.Size (400, 220);
this.Realized += new EventHandler (OnRealized);
Modified: trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/NewProjectDialog.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/NewProjectDialog.cs 2004-02-16 23:44:44 UTC (rev 931)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/NewProjectDialog.cs 2004-02-17 00:11:11 UTC (rev 932)
@@ -17,10 +17,9 @@
using ICSharpCode.SharpDevelop.Gui;
using ICSharpCode.SharpDevelop.Internal.Project;
using ICSharpCode.SharpDevelop.Internal.Templates;
-using ICSharpCode.SharpDevelop.Gui.XmlForms;
+
using MonoDevelop.Gui.Widgets;
using Gtk;
-using GladeSharp;
using Glade;
namespace ICSharpCode.SharpDevelop.Gui.Dialogs {
Modified: trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/SharpDevelopAboutPanels.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/SharpDevelopAboutPanels.cs 2004-02-16 23:44:44 UTC (rev 931)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/SharpDevelopAboutPanels.cs 2004-02-17 00:11:11 UTC (rev 932)
@@ -9,17 +9,13 @@
using System.Drawing;
using Gtk;
-using System.Resources;
using System.IO;
using System.Text;
using System.Reflection;
-using System.Runtime.CompilerServices;
using ICSharpCode.SharpDevelop.Gui;
using ICSharpCode.Core.Properties;
-
using ICSharpCode.Core.Services;
-
using ICSharpCode.SharpDevelop.Internal.Project.Collections;
using ICSharpCode.SharpDevelop.Internal.Project;
using ICSharpCode.SharpDevelop.Services;
@@ -28,19 +24,24 @@
{
public class AboutMonoDevelopTabPage : VBox
{
- static GLib.GType type;
+ static GLib.GType gtype;
Label buildLabel = new Label ();
Label buildTextBox = new Label ();
Label versionLabel = new Label ();
Label versionTextBox = new Label ();
Label sponsorLabel = new Label ();
- static AboutMonoDevelopTabPage ()
+ public static new GLib.GType GType
{
- type = RegisterGType (typeof (AboutMonoDevelopTabPage));
+ get
+ {
+ if (gtype == GLib.GType.Invalid)
+ gtype = RegisterGType (typeof (AboutMonoDevelopTabPage));
+ return gtype;
+ }
}
- public AboutMonoDevelopTabPage() : base (type)
+ public AboutMonoDevelopTabPage() : base (GType)
{
HBox hbox = new HBox (false, 0);
Version v = Assembly.GetEntryAssembly().GetName().Version;
@@ -127,7 +128,7 @@
// feel free to add your name and email here
// if you contributed to the port
// FIXME: make real port credits
- base.Html = "<html><body><h3>MonoDevelop port</h3>"
+ /*base.Html = "<html><body><h3>MonoDevelop port</h3>"
+ "<p>This is a port of SharpDevelop 0.98 to Gtk#.</p>"
+ "<p>by:"
+ "<ul><li>Todd Berman</li>"
@@ -137,7 +138,7 @@
+ "<li>orph</li>"
+ "<li>nricciar</li>"
+ "<li>jba</li>"
- + "</ul></body></html>";
+ + "</ul></body></html>";*/
} catch (Exception e) {
IMessageService messageService = (IMessageService)ServiceManager.Services.GetService(typeof(IMessageService));
@@ -149,17 +150,22 @@
public class VersionInformationTabPage : VBox
{
- private static GLib.GType type;
+ private static GLib.GType gtype;
private TreeView listView;
private Button button;
private TreeStore store;
- static VersionInformationTabPage ()
+ public static new GLib.GType GType
{
- type = RegisterGType (typeof (VersionInformationTabPage));
+ get
+ {
+ if (gtype == GLib.GType.Invalid)
+ gtype = RegisterGType (typeof (VersionInformationTabPage));
+ return gtype;
+ }
}
- public VersionInformationTabPage() : base (type)
+ public VersionInformationTabPage() : base (GType)
{
ResourceService resourceService = (ResourceService)ServiceManager.Services.GetService(typeof(IResourceService));
Modified: trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/SplashScreen.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/SplashScreen.cs 2004-02-16 23:44:44 UTC (rev 931)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/SplashScreen.cs 2004-02-17 00:11:11 UTC (rev 932)
@@ -1,9 +1,6 @@
using System;
using System.Collections;
-//using System.Windows.Forms;
-using System.Drawing;
using System.Reflection;
-using System.Resources;
using Gtk;
namespace ICSharpCode.SharpDevelop.Gui.Dialogs {
@@ -22,13 +19,9 @@
public SplashScreenForm() : base ("Splash")
{
-#if !DEBUG
- //TopMost = true;
-#endif
this.Decorated = false;
this.WindowPosition = WindowPosition.Center;
this.TypeHint = Gdk.WindowTypeHint.Splashscreen;
- //ShowInTaskbar = false;
Gdk.Pixbuf bitmap = new Gdk.Pixbuf(Assembly.GetEntryAssembly(), "SplashScreen.png");
DefaultWidth = bitmap.Width;
DefaultHeight = bitmap.Height;
Modified: trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/TipOfTheDay.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/TipOfTheDay.cs 2004-02-16 23:44:44 UTC (rev 931)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/TipOfTheDay.cs 2004-02-17 00:11:11 UTC (rev 932)
@@ -6,11 +6,8 @@
// </file>
using System;
-using System.Drawing;
-using System.ComponentModel;
-using System.Resources;
-using System.Xml;
using System.IO;
+using System.Xml;
using Gtk;
using GtkSharp;
Modified: trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/TreeViewOptions.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/TreeViewOptions.cs 2004-02-16 23:44:44 UTC (rev 931)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/TreeViewOptions.cs 2004-02-17 00:11:11 UTC (rev 932)
@@ -7,11 +7,7 @@
using System;
using System.IO;
-using System.Drawing;
-using System.Drawing.Drawing2D;
using System.Collections;
-using System.ComponentModel;
-using System.Xml;
using ICSharpCode.Core.AddIns;
using ICSharpCode.Core.Services;
Modified: trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/ViewGPLDialog.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/ViewGPLDialog.cs 2004-02-16 23:44:44 UTC (rev 931)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/ViewGPLDialog.cs 2004-02-17 00:11:11 UTC (rev 932)
@@ -8,7 +8,6 @@
using System;
using System.IO;
using Gtk;
-using System.Resources;
using ICSharpCode.Core.Properties;
using ICSharpCode.Core.Services;
Modified: trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/WordCountDialog.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/WordCountDialog.cs 2004-02-16 23:44:44 UTC (rev 931)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/WordCountDialog.cs 2004-02-17 00:11:11 UTC (rev 932)
@@ -21,7 +21,7 @@
{
public class WordCountDialog : Dialog
{
- static GLib.GType type;
+ static GLib.GType gtype;
TreeView resultListView;
TreeStore store;
ArrayList items;
@@ -270,12 +270,17 @@
//UpdateList ((TreeViewColumn)e.Column);
}
- static WordCountDialog ()
+ public static new GLib.GType GType
{
- type = RegisterGType (typeof (WordCountDialog));
+ get
+ {
+ if (gtype == GLib.GType.Invalid)
+ gtype = RegisterGType (typeof (WordCountDialog));
+ return gtype;
+ }
}
- public WordCountDialog() : base (type)
+ public WordCountDialog() : base (GType)
{
this.BorderWidth = 6;
this.TransientFor = (Window) WorkbenchSingleton.Workbench;
More information about the Monodevelop-patches-list
mailing list