IniLikeEntryException if icon is not abolute path nor base name.
1 auto df = new DesktopFile(); 2 assertNotThrown(df.iconName = "base"); 3 version(Posix) { 4 assertNotThrown(df.iconName = "/absolute/path"); 5 } 6 assertThrown(df.iconName = "not/absolute"); 7 assertThrown(df.iconName = "./relative");
Set Icon value.