[Monodevelop-patches-list] r1600 - in trunk/MonoDevelop/src: AddIns/DisplayBindings/SourceEditor/Gui/Dialogs Main/Base/Gui/Dialogs Main/Base/Gui/Dialogs/OptionPanels

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Mon May 10 22:19:29 EDT 2004


Author: tberman
Date: 2004-05-10 22:19:29 -0400 (Mon, 10 May 2004)
New Revision: 1600

Modified:
   trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/EditTemplateGroupDialog.cs
   trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/OptionPanels/EditTemplateDialog.cs
   trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/ViewGPLDialog.cs
Log:
update to gtk-sharp cvs to snapshot


Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/EditTemplateGroupDialog.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/EditTemplateGroupDialog.cs	2004-05-10 21:25:42 UTC (rev 1599)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/EditTemplateGroupDialog.cs	2004-05-11 02:19:29 UTC (rev 1600)
@@ -77,7 +77,7 @@
 			this.VBox.PackStart(hBox1, false, false, 6);
 			
 			// set up the buttons and add them
-			this.DefaultResponse = (int) Gtk.ResponseType.Ok;
+			this.DefaultResponse = Gtk.ResponseType.Ok;
 			Gtk.Button cancelButton = new Gtk.Button(Gtk.Stock.Cancel);
 			Gtk.Button okButton = new Gtk.Button(Gtk.Stock.Ok);
 			okButton.Clicked += new EventHandler(AcceptEvent);

Modified: trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/OptionPanels/EditTemplateDialog.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/OptionPanels/EditTemplateDialog.cs	2004-05-10 21:25:42 UTC (rev 1599)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/OptionPanels/EditTemplateDialog.cs	2004-05-11 02:19:29 UTC (rev 1600)
@@ -87,7 +87,7 @@
 			this.VBox.PackStart(hBox2, false, false, 6);
 			
 			// set up the buttons and add them
-			this.DefaultResponse = (int) Gtk.ResponseType.Ok;
+			this.DefaultResponse = Gtk.ResponseType.Ok;
 			Gtk.Button cancelButton = new Gtk.Button(Gtk.Stock.Cancel);
 			Gtk.Button okButton = new Gtk.Button(Gtk.Stock.Ok);
 			okButton.Clicked += new EventHandler(AcceptEvent);

Modified: trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/ViewGPLDialog.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/ViewGPLDialog.cs	2004-05-10 21:25:42 UTC (rev 1599)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/ViewGPLDialog.cs	2004-05-11 02:19:29 UTC (rev 1600)
@@ -29,7 +29,7 @@
 			if (fileUtilityService.TestFileExists(filename)) {
 				Glade.XML gplDialog = new Glade.XML (null, "Base.glade", "GPLDialog", null);
 				gplDialog.Autoconnect (this);
-				GPLDialog.DefaultResponse = (int) ResponseType.Close;
+				GPLDialog.DefaultResponse = ResponseType.Close;
 				GPLDialog.TransientFor = (Gtk.Window) WorkbenchSingleton.Workbench;
  				StreamReader streamReader = new StreamReader (filename);
  				view.Buffer.Text = streamReader.ReadToEnd ();




More information about the Monodevelop-patches-list mailing list