// emit_dotdesktop() will determine a filename and create a FILENAME.desktop file in the targetpath
// TODO: Copy the icon into this directory as well, if its source is a .pnd or info is in the dico struct
+#define PND_DOTDESKTOP_HEADER "[Desktop Entry]"
#define PND_DOTDESKTOP_SOURCE "_Source=libpnd"
unsigned char pnd_emit_dotdesktop ( char *targetpath, char *pndrun, pnd_disco_t *p );
return ( 0 );
}
+ fprintf ( f, "%s\n", PND_DOTDESKTOP_HEADER );
+
if ( p -> title_en ) {
snprintf ( buffer, 1020, "Name=%s\n", p -> title_en );
fprintf ( f, "%s", buffer );