[Monodevelop-patches-list] r1122 - trunk/MonoDevelop/src/Main/Base/Gui/Dialogs

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Fri Mar 5 23:58:02 EST 2004


Author: jba
Date: 2004-03-05 23:58:01 -0500 (Fri, 05 Mar 2004)
New Revision: 1122

Modified:
   trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/ProjectOptionsDialog.cs
   trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/TreeViewOptions.cs
Log:
quick fix to make combine options panel show again

Modified: trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/ProjectOptionsDialog.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/ProjectOptionsDialog.cs	2004-03-06 04:46:01 UTC (rev 1121)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/ProjectOptionsDialog.cs	2004-03-06 04:58:01 UTC (rev 1122)
@@ -283,7 +283,7 @@
 			}
 		}
 		
-		protected virtual void OnButtonRelease(object sender, Gtk.ButtonReleaseEventArgs e)
+		protected override void OnButtonRelease(object sender, Gtk.ButtonReleaseEventArgs e)
 		{	
 			// only interested in right mouse button click
 			if (e.Event.Button == 3) {

Modified: trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/TreeViewOptions.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/TreeViewOptions.cs	2004-03-06 04:46:01 UTC (rev 1121)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/TreeViewOptions.cs	2004-03-06 04:58:01 UTC (rev 1122)
@@ -180,6 +180,12 @@
 		{
 			TreeViewOptionDialog.Hide ();
 		}
+		
+		// Glade tries to find this event (glade signal is wired to it)
+		protected virtual void OnButtonRelease(object sender, Gtk.ButtonReleaseEventArgs e)
+		{
+			// do nothing. this is need to wire up button release event for ProjectOptionsDialog
+		}
 
 	}
 }




More information about the Monodevelop-patches-list mailing list