File: CheckMissing.cs

package info (click to toggle)
gnome-subtitles 1.8-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 103,144 kB
  • sloc: xml: 406,395; cs: 364,495; ansic: 3,104; perl: 1,477; sh: 769; python: 545; javascript: 500; makefile: 49
file content (12 lines) | stat: -rw-r--r-- 322 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
using Mono.Addins;

namespace MonoDevelop.GtkSharp.Addin
{
    public class CheckMissing : ConditionType
    {
        public override bool Evaluate(NodeElement conditionNode)
        {
            return AddinManager.GetExtensionNode("/MonoDevelop/Ide/ProjectTemplateCategories/crossplat/app") == null;
        }
    }
}