Type of desktop entry.
1 string contents = "[Desktop Entry]\nType=Application"; 2 auto desktopFile = new DesktopFile(iniLikeStringReader(contents)); 3 assert(desktopFile.type == Type.Application); 4 5 desktopFile.desktopEntry.setEscapedValue("Type", "Link"); 6 assert(desktopFile.type == Type.Link); 7 8 desktopFile.desktopEntry.setEscapedValue("Type", "Directory"); 9 assert(desktopFile.type == Type.Directory);
Type of desktop entry.