From b1b6b92cf34bce3927f7241d9a5ae5d5556d72f4 Mon Sep 17 00:00:00 2001 From: Luya Tshimbalanga Date: Tue, 21 Apr 2020 22:29:07 -0700 Subject: [PATCH] Set value key on desktop file associated with application (#1826395) --- xournalpp.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/xournalpp.spec b/xournalpp.spec index d190142..ef3f6a4 100644 --- a/xournalpp.spec +++ b/xournalpp.spec @@ -2,7 +2,7 @@ Name: xournalpp Version: 1.0.18 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Handwriting note-taking software with PDF annotation support License: GPLv2+ @@ -68,8 +68,11 @@ sed -i 's|tlh-AA|tlh|g' po/tlh.po %make_install #Remove depreciated key from desktop file +#Fix desktop file associated with application desktop-file-install \ --remove-key="Encoding" \ + --set-key="StartupWMClass" \ + --set-value="xournalpp" \ %{buildroot}%{_datadir}/applications/com.github.%{name}.%{name}.desktop %find_lang %{name} @@ -102,6 +105,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/com.github.%{n %{_datadir}/%{name}/ui %changelog +* Tue Apr 21 2020 Luya Tshimbalanga - 1.0.18-2 +- Set value key on desktop file associated with application (#1826395) + * Thu Apr 16 2020 Fedora Release Monitoring - 1.0.18-1 - Update to 1.0.18 (#1824351)