diff options
-rw-r--r-- | Mono.Addins/Mono.Addins.Description/AddinDescription.cs | 2 | ||||
-rw-r--r-- | Mono.Addins/Mono.Addins/NodeAttributeAttribute.cs | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/Mono.Addins/Mono.Addins.Description/AddinDescription.cs b/Mono.Addins/Mono.Addins.Description/AddinDescription.cs index 70deaa1..9d0e872 100644 --- a/Mono.Addins/Mono.Addins.Description/AddinDescription.cs +++ b/Mono.Addins/Mono.Addins.Description/AddinDescription.cs @@ -827,7 +827,7 @@ namespace Mono.Addins.Description if (oldHeader == null) { oldHeader = elem.OwnerDocument.CreateElement ("Header"); if (elem.FirstChild != null) - elem.InsertBefore (elem, elem.FirstChild); + elem.InsertBefore (oldHeader, elem.FirstChild); else elem.AppendChild (oldHeader); } diff --git a/Mono.Addins/Mono.Addins/NodeAttributeAttribute.cs b/Mono.Addins/Mono.Addins/NodeAttributeAttribute.cs index c45d79f..e6fe775 100644 --- a/Mono.Addins/Mono.Addins/NodeAttributeAttribute.cs +++ b/Mono.Addins/Mono.Addins/NodeAttributeAttribute.cs @@ -259,8 +259,7 @@ namespace Mono.Addins /// </summary> /// <remarks> /// Allows specifying the type of the content of a string attribute. - /// If an attribute is of type File, the referenced file will be - /// automatically imported in add-ins using it. + /// This value is for documentation purposes only. /// </remarks> public ContentType ContentType { get; set; } } |