For fun, adding basic default Categories line to .desktop
authorskeezix <skeezix@flotsam-vm.(none)>
Wed, 25 Feb 2009 17:23:08 +0000 (12:23 -0500)
committerskeezix <skeezix@flotsam-vm.(none)>
Wed, 25 Feb 2009 17:23:08 +0000 (12:23 -0500)
lib/pnd_discovery.c

index e1ec7fd..03854b0 100644 (file)
@@ -323,6 +323,10 @@ unsigned char pnd_emit_dotdesktop ( char *targetpath, char *pndrun, pnd_disco_t
     fprintf ( f, "%s", buffer );
   }
 
+#if 1 // categories
+  fprintf ( f, "%s\n", "Categories=Application;Network;" );
+#endif
+
   fprintf ( f, "%s\n", PND_DOTDESKTOP_SOURCE ); // should we need to know 'who' created the file during trimming
 
   fclose ( f );