Author: mhutch
Date: 2007-09-19 16:47:22 -0400 (Wed, 19 Sep 2007)
New Revision: 86040

Modified:
   
trunk/monodevelop/Extras/AspNetEdit/AspNetEdit.Integration/AspNetEditViewContent.cs
   trunk/monodevelop/Extras/AspNetEdit/ChangeLog
Log:
* AspNetEdit.Integration/AspNetEditViewContent.cs: Track API changes.

Modified: 
trunk/monodevelop/Extras/AspNetEdit/AspNetEdit.Integration/AspNetEditViewContent.cs
===================================================================
--- 
trunk/monodevelop/Extras/AspNetEdit/AspNetEdit.Integration/AspNetEditViewContent.cs
 2007-09-19 20:27:36 UTC (rev 86039)
+++ 
trunk/monodevelop/Extras/AspNetEdit/AspNetEdit.Integration/AspNetEditViewContent.cs
 2007-09-19 20:47:22 UTC (rev 86040)
@@ -150,8 +150,12 @@
                        MonoDevelop.Projects.Parser.IClass codeBehind = null;
                        if (viewContent.Project != null) {
                                MonoDevelop.Projects.ProjectFile pf = 
viewContent.Project.GetProjectFile (viewContent.ContentName);
-                               if (pf != null)
-                                       codeBehind = 
DesignerSupport.Service.CodeBehindService.GetCodeBehind (pf);
+                               if (pf != null) {
+                                       
MonoDevelop.DesignerSupport.CodeBehind.CodeBehindClass cc = 
+                                               
DesignerSupport.Service.CodeBehindService.GetChildClass (pf);
+                                       if (cc != null)
+                                               codeBehind = cc.IClass;
+                               }
                        }
                        proxy = new MonoDevelopProxy (codeBehind);
                        

Modified: trunk/monodevelop/Extras/AspNetEdit/ChangeLog
===================================================================
--- trunk/monodevelop/Extras/AspNetEdit/ChangeLog       2007-09-19 20:27:36 UTC 
(rev 86039)
+++ trunk/monodevelop/Extras/AspNetEdit/ChangeLog       2007-09-19 20:47:22 UTC 
(rev 86040)
@@ -1,3 +1,7 @@
+2007-09-19  Michael Hutchinson <[EMAIL PROTECTED]> 
+
+       * AspNetEdit.Integration/AspNetEditViewContent.cs: Track API changes.
+
 2007-09-13  Michael Hutchinson <[EMAIL PROTECTED]> 
 
        Move (now trivial) JSCall# library into MD SVN rather than 

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to