UIKit0 / gmlive

Automatically exported from code.google.com/p/gmlive
GNU General Public License v2.0
0 stars 0 forks source link

patch for desktop file #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
patch:
diff --git a/data/gmlive.desktop.in b/data/gmlive.desktop.in
index b6d78d1..af774cd 100644
--- a/data/gmlive.desktop.in
+++ b/data/gmlive.desktop.in
@@ -1,10 +1,9 @@
 [Desktop Entry]
-Encoding=UTF-8
 _Name=Gmlive
 _Comment=Streaming Direct Broadcast System based on P2P
 Exec=gmlive
 Terminal=false
 Type=Application
 StartupNotify=true
-Icon=gmlive.png
-Categories=Application;Multimedia;AudioVideo;
+Icon=gmlive
+Categories=AudioVideo;

之前的 .desktop 文件有如下的问题:
$ desktop-file-validate data/gmlive.desktop
data/gmlive.desktop: warning: key "Encoding" in group "Desktop Entry" is
deprecated
data/gmlive.desktop: warning: value "gmlive.png" for key "Icon" in group
"Desktop Entry" is an icon name with an extension, but there should be no
extension as described in the Icon Theme Specification if the value is not
an absolute path
data/gmlive.desktop: warning: value "Application;Multimedia;AudioVideo;"
for key "Categories" in group "Desktop Entry" contains a deprecated value
"Application"
data/gmlive.desktop: error: value "Application;Multimedia;AudioVideo;" for
key "Categories" in group "Desktop Entry" contains an unregistered value
"Multimedia"; values extending the format should start with "X-"

Original issue reported on code.google.com by lidaob...@gmail.com on 24 Jun 2008 at 3:11

GoogleCodeExporter commented 9 years ago
fixed in svn r217 .

Original comment by lero...@gmail.com on 29 Jun 2008 at 9:13