Browse Source
Merge pull request #22 from pinotree/qwindowtitle
Ignore also -qwindowtitle %c in Exec
pull/23/head
George Vlahavas
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
0 deletions
-
src/xdgmenumaker
|
|
@ -354,6 +354,10 @@ def remove_command_keys(command, desktopfile, icon): |
|
|
|
command = command.replace('-caption "%c"', '') |
|
|
|
command = command.replace("-caption '%c'", '') |
|
|
|
command = command.replace('-caption %c', '') |
|
|
|
# same as before, although with -qwindowtitle (typical for Qt 5 apps). |
|
|
|
command = command.replace('-qwindowtitle "%c"', '') |
|
|
|
command = command.replace("-qwindowtitle '%c'", '') |
|
|
|
command = command.replace('-qwindowtitle %c', '') |
|
|
|
# replace the %k key. This is what freedesktop says about it: "The |
|
|
|
# location of the desktop file as either a URI (if for example gotten from |
|
|
|
# the vfolder system) or a local filename or empty if no location is |
|
|
|