git.openpandora.org
/
pandora-libraries.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19f81ac
)
For fun, adding basic default Categories line to .desktop
author
skeezix
<skeezix@flotsam-vm.(none)>
Wed, 25 Feb 2009 17:23:08 +0000
(12:23 -0500)
committer
skeezix
<skeezix@flotsam-vm.(none)>
Wed, 25 Feb 2009 17:23:08 +0000
(12:23 -0500)
lib/pnd_discovery.c
patch
|
blob
|
history
diff --git
a/lib/pnd_discovery.c
b/lib/pnd_discovery.c
index
e1ec7fd
..
03854b0
100644
(file)
--- 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 );