Browse Source

Fix PInvoke context menu not displaying in text editor.

pull/38/head
Matt Ward 12 years ago
parent
commit
f0ab5200f6
  1. 8
      samples/PInvokeAddIn/Project/PInvoke.addin
  2. 2
      samples/PInvokeAddIn/Project/PInvoke.nuspec

8
samples/PInvokeAddIn/Project/PInvoke.addin

@ -28,11 +28,7 @@ @@ -28,11 +28,7 @@
</Path>
<!-- Right click in text editor menu option -->
<Path name = "/SharpDevelop/ViewContent/DefaultTextEditor/ContextMenu">
<MenuItem id = "Separator4"
type = "Separator"
insertafter = "Options"/>
<Path name = "/SharpDevelop/ViewContent/TextEditor/ContextMenu">
<ComplexCondition action = "Disable">
<Or>
@ -41,7 +37,7 @@ @@ -41,7 +37,7 @@
</Or>
<MenuItem id = "InsertPInvoke"
label = "${res:ICSharpCode.PInvokeAddIn.InsertPInvokeSignaturesMenuLabel}"
insertafter = "Separator4"
insertbefore = "Comment"
class ="ICSharpCode.PInvokeAddIn.InsertPInvokeSignaturesCommand"
/>
</ComplexCondition>

2
samples/PInvokeAddIn/Project/PInvoke.nuspec

@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
<package xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<id>PInvoke</id>
<version>0.1</version>
<version>0.2</version>
<authors>Matt Ward</authors>
<owners>SharpDevelop</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>

Loading…
Cancel
Save