xfce-polkit: fix Name/Comment fields in desktop file

Without this xfce-polkit is displayed ad 'null' in autosatart dialog of
xfce4-settings.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Andreas Müller
2018-01-17 09:34:21 +01:00
committed by Armin Kuster
parent 2ce2e2f4d5
commit 9eb33e651a
2 changed files with 38 additions and 1 deletions
@@ -0,0 +1,34 @@
From fb1f83c04dd5262897b09e60fa8b39090d0d4619 Mon Sep 17 00:00:00 2001
From: Rex Dieter <rdieter@math.unl.edu>
Date: Thu, 12 Nov 2015 13:53:03 -0600
Subject: [PATCH] fix Name/Comment fields
Validate as a valid .desktop file per
http://standards.freedesktop.org/desktop-entry-spec/latest/
See also issue #2
Upstream-Status: Applied [1]
[1] https://github.com/ncopa/xfce-polkit/commit/fb1f83c04dd5262897b09e60fa8b39090d0d4619
---
xfce-polkit.desktop.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/xfce-polkit.desktop.in b/xfce-polkit.desktop.in
index 8575896..dd9f09c 100644
--- a/xfce-polkit.desktop.in
+++ b/xfce-polkit.desktop.in
@@ -1,7 +1,7 @@
[Desktop Entry]
Type=Application
-_Name=XFCE PolKit
-_Comment=Policykit Authentication Agent
+Name=XFCE PolKit
+Comment=Policykit Authentication Agent
Exec=@xfce_polkit_libexecdir@/xfce-polkit
Icon=gtk-dialog-authentication
NotShowIn=GNOME;KDE;
--
2.14.3
@@ -6,6 +6,9 @@ DEPENDS = "libxfce4ui polkit"
inherit xfce-app
SRC_URI = "git://github.com/ncopa/${BPN}.git"
SRC_URI = " \
git://github.com/ncopa/${BPN}.git \
file://0001-fix-Name-Comment-fields.patch \
"
SRCREV = "6ad1ee833c9e22e4dd72a8f7d54562d046965283"
S = "${WORKDIR}/git"