changeset 1286:0d8f8380c811

Vendor desktop entry replaced by X-Vendor
author Jiri Vanek <jvanek@redhat.com>
date Thu, 14 Jan 2016 11:05:24 +0100
parents e017136a9c45
children fc1cd3b761d4
files ChangeLog netx/net/sourceforge/jnlp/util/XDesktopEntry.java
diffstat 2 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Jan 14 10:28:14 2016 +0100
+++ b/ChangeLog	Thu Jan 14 11:05:24 2016 +0100
@@ -1,4 +1,11 @@
-2016-01-07  Jiri Vanek  <jvanek@redhat.com>
+2016-01-14  Jiri Vanek  <jvanek@redhat.com>
+
+	Vendor desktop entry replaced by X-Vendor
+	* ChangeLog: fixed date
+	* netx/net/sourceforge/jnlp/util/XDesktopEntry.java: if vendor is present in jnlp
+	instead of Vendor X-Vendor entry is generated to desktop file
+
+2016-01-14  Jiri Vanek  <jvanek@redhat.com>
 
 	Added reprodcuer for NoClassDeffFoundError behavior
 	* tests/reproducers/custom/NoClassDeff/srcs/NoClassDeff.java: small app including
--- a/netx/net/sourceforge/jnlp/util/XDesktopEntry.java	Thu Jan 14 10:28:14 2016 +0100
+++ b/netx/net/sourceforge/jnlp/util/XDesktopEntry.java	Thu Jan 14 11:05:24 2016 +0100
@@ -148,7 +148,7 @@
 
         }
         if (file.getInformation().getVendor() != null) {
-            fileContents += "Vendor=" + sanitize(file.getInformation().getVendor()) + "\n";
+            fileContents += "X-Vendor=" + sanitize(file.getInformation().getVendor()) + "\n";
         }
 
         if (JNLPRuntime.isWebstartApplication()) {