File: upstream_desktop-add-f-placeholder-for-Exec.patch

package info (click to toggle)
kst 2.0.8-5
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 30,740 kB
  • sloc: cpp: 97,086; ansic: 13,364; python: 2,970; sh: 761; yacc: 184; lex: 143; makefile: 141; javascript: 122; perl: 30; xml: 30
file content (22 lines) | stat: -rw-r--r-- 619 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From 9d03b1a9e92d8212e7c7729d49704de3f75360ee Mon Sep 17 00:00:00 2001
From: Pino Toscano <pino@kde.org>
Date: Fri, 30 Jun 2017 20:34:39 +0200
Subject: [PATCH] desktop: add %f placeholder for Exec

kst can open a single local file specified as argument, so indicate
this possibility adding the %f placeholder in the application desktop
file.
---
 src/kst/kst2.desktop | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/src/kst/kst2.desktop
+++ b/src/kst/kst2.desktop
@@ -1,6 +1,6 @@
 [Desktop Entry]
 Type=Application
-Exec=kst2
+Exec=kst2 %f
 Icon=kst
 X-DocPath=kst2/index.html
 MimeType=application/x-kst;