Re: [Muine] NEW PRERELEASE: 0.8.1pre2



On Mon, Jan 24, 2005 at 03:06:37PM +0200, Jorn Baayen wrote:
> Hi,
> 
> A new prerelease, 0.8.1pre2:
> http://muine.gooeylinux.org/muine-0.8.1pre2.tar.gz

There's a small fix needed to get this working when using a 1.1.x mono
version. In src/HandleView.cs, you create a new HandleView Model {get;}
property for the subclass of TreeView, and in the constructor you try to
do "Model = model;". On 1.1.x, the property inheritance is fixed, so
this *fails*. Attached is the patch, which just casts this to a TreeView
so there is a set for that property.

-pete


-- 
Peter Johanson
<latexer gentoo org>
diff -aur muine-0.8.1pre2-orig/src/HandleView.cs muine-0.8.1pre2/src/HandleView.cs
--- muine-0.8.1pre2-orig/src/HandleView.cs	2005-01-24 06:55:29.000000000 -0500
+++ muine-0.8.1pre2/src/HandleView.cs	2005-01-24 12:27:38.776155728 -0500
@@ -34,7 +34,7 @@
 		public HandleView ()
 		{
 			model = new HandleModel ();
-			Model = model;
+			((TreeView)this).Model = model;
 
 			RulesHint      = true;
 			EnableSearch   = false;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]