From 886aeeeba3b074ebb92be3d9ac1d961a156163a9 Mon Sep 17 00:00:00 2001 From: skeezix Date: Wed, 25 Feb 2009 12:23:08 -0500 Subject: [PATCH] For fun, adding basic default Categories line to .desktop --- lib/pnd_discovery.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/pnd_discovery.c b/lib/pnd_discovery.c index e1ec7fd..03854b0 100644 --- a/lib/pnd_discovery.c +++ b/lib/pnd_discovery.c @@ -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 ); -- 2.39.5