Author: lluis
Date: 2007-07-05 11:33:19 -0400 (Thu, 05 Jul 2007)
New Revision: 81402

Removed:
   trunk/monodevelop/Extras/AspNetEdit/data/
Modified:
   
trunk/monodevelop/Extras/AspNetEdit/AspNetEdit.Integration/AspNetEditViewContent.cs
   trunk/monodevelop/Extras/AspNetEdit/AspNetEdit.Integration/ToolboxProvider.cs
   trunk/monodevelop/Extras/AspNetEdit/AspNetEdit.mdp
   trunk/monodevelop/Extras/AspNetEdit/ChangeLog
   trunk/monodevelop/Extras/AspNetEdit/Makefile.am
Log:
* AspNetEdit.mdp, Makefile.am, data, data/WebControlsToolbox.xml:
  Removed unused files.
* AspNetEdit.Integration/ToolboxProvider.cs,
  AspNetEdit.Integration/AspNetEditViewContent.cs: Track changes in
  the api.

Modified: 
trunk/monodevelop/Extras/AspNetEdit/AspNetEdit.Integration/AspNetEditViewContent.cs
===================================================================
--- 
trunk/monodevelop/Extras/AspNetEdit/AspNetEdit.Integration/AspNetEditViewContent.cs
 2007-07-05 15:32:34 UTC (rev 81401)
+++ 
trunk/monodevelop/Extras/AspNetEdit/AspNetEdit.Integration/AspNetEditViewContent.cs
 2007-07-05 15:33:19 UTC (rev 81402)
@@ -252,6 +252,10 @@
                public TargetEntry[] DragTargets {
                        get { return null; }
                }
+               
+               string IToolboxConsumer.DefaultItemDomain {
+                       get { return null; }
+               }
 
                #endregion IToolboxConsumer
                

Modified: 
trunk/monodevelop/Extras/AspNetEdit/AspNetEdit.Integration/ToolboxProvider.cs
===================================================================
--- 
trunk/monodevelop/Extras/AspNetEdit/AspNetEdit.Integration/ToolboxProvider.cs   
    2007-07-05 15:32:34 UTC (rev 81401)
+++ 
trunk/monodevelop/Extras/AspNetEdit/AspNetEdit.Integration/ToolboxProvider.cs   
    2007-07-05 15:33:19 UTC (rev 81402)
@@ -40,16 +40,14 @@
        
        public class ToolboxProvider : IToolboxDefaultProvider
        {
+               public IEnumerable<string> GetDefaultFiles ()
+               {
+                       yield return 
typeof(System.Web.UI.Control).Assembly.Location;
+               }
                
-               public IList<ItemToolboxNode> GetItems ()
+               public IEnumerable<ItemToolboxNode> GetDefaultItems ()
                {
-                       string dataDir = Path.GetDirectoryName 
(typeof(ToolboxProvider).Assembly.Location);
-                       string file = Path.Combine (dataDir, 
"WebControlsToolbox.xml");
-                       if (!File.Exists (file)) {
-                               IdeApp.Services.MessageService.ShowWarning 
("Could not find data file \""+file+"\"");
-                               return null;
-                       }
-                       return ToolboxList.LoadFromFile (file);
+                       return null;
                }
        }
 }

Modified: trunk/monodevelop/Extras/AspNetEdit/AspNetEdit.mdp
===================================================================
--- trunk/monodevelop/Extras/AspNetEdit/AspNetEdit.mdp  2007-07-05 15:32:34 UTC 
(rev 81401)
+++ trunk/monodevelop/Extras/AspNetEdit/AspNetEdit.mdp  2007-07-05 15:33:19 UTC 
(rev 81402)
@@ -62,8 +62,6 @@
     <File name="./AspNetEdit.Integration/MonoDevelopProxy.cs" subtype="Code" 
buildaction="Compile" />
     <File name="./AspNetEdit.Editor.ComponentModel/EventBindingService.cs" 
subtype="Code" buildaction="Compile" />
     <File name="./AspNetEdit.Integration/ToolboxProvider.cs" subtype="Code" 
buildaction="Compile" />
-    <File name="./data" subtype="Directory" buildaction="Compile" />
-    <File name="./data/WebControlsToolbox.xml" subtype="Code" 
buildaction="Compile" />
     <File name="./chrome/aspdesigner.manifest.in" subtype="Code" 
buildaction="Nothing" />
   </Contents>
   <References>
@@ -89,7 +87,8 @@
     <ProjectReference type="Gac" localcopy="True" refto="gtk-sharp, 
Version=2.8.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
     <ProjectReference type="Gac" localcopy="True" refto="System.Drawing, 
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
     <ProjectReference type="Project" localcopy="False" 
refto="MonoDevelop.Deployment" />
-    <ProjectReference type="Gac" localcopy="True" refto="jscall, 
Version=0.0.2.0, Culture=neutral, PublicKeyToken=db10596f4718e9c9" />
+    <ProjectReference type="Assembly" localcopy="True" 
refto="../../build/AddIns/AspNetEdit/jscall.dll" />
+    <ProjectReference type="Assembly" localcopy="False" 
refto="../../contrib/Mono.Addins.dll" />
   </References>
   <MonoDevelop.Autotools.MakefileInfo IntegrationEnabled="True" 
RelativeMakefileName="./Makefile.am" SyncReferences="True" 
IsAutotoolsProject="True" RelativeConfigureInPath="../../">
     <BuildFilesVar Name="FILES" />

Modified: trunk/monodevelop/Extras/AspNetEdit/ChangeLog
===================================================================
--- trunk/monodevelop/Extras/AspNetEdit/ChangeLog       2007-07-05 15:32:34 UTC 
(rev 81401)
+++ trunk/monodevelop/Extras/AspNetEdit/ChangeLog       2007-07-05 15:33:19 UTC 
(rev 81402)
@@ -1,3 +1,11 @@
+2007-07-05  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
+
+       * AspNetEdit.mdp, Makefile.am, data, data/WebControlsToolbox.xml:
+         Removed unused files.
+       * AspNetEdit.Integration/ToolboxProvider.cs,
+         AspNetEdit.Integration/AspNetEditViewContent.cs: Track changes in
+         the api.
+
 2007-06-08  Michael Hutchinson <[EMAIL PROTECTED]>
 
        * AspNetEdit.Integration/EditorProcess.cs,

Modified: trunk/monodevelop/Extras/AspNetEdit/Makefile.am
===================================================================
--- trunk/monodevelop/Extras/AspNetEdit/Makefile.am     2007-07-05 15:32:34 UTC 
(rev 81401)
+++ trunk/monodevelop/Extras/AspNetEdit/Makefile.am     2007-07-05 15:33:19 UTC 
(rev 81402)
@@ -69,9 +69,6 @@
 
 RES = #
 
-DATA_FILES = \
-       data/WebControlsToolbox.xml
-
 LOCAL_LIBS = \
        libs/jscall.dll
 

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

Reply via email to