diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-04-29 15:53:16 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-04-29 15:53:16 -0400 |
commit | 97c488a31cc63005e17536208df1f4f25ed866a6 (patch) | |
tree | f2c1663447fb8cac22b167fbbe4058e3bbcd5943 /Assistant | |
parent | 81953d060c43df2a3567baa2b0f3f2c592572a63 (diff) |
Improve integration with KDE's file manager to work with dolphin version 14.12.3 while still being compatable with 4.14.2. Thanks, silvio.
Diffstat (limited to 'Assistant')
-rw-r--r-- | Assistant/Install.hs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Assistant/Install.hs b/Assistant/Install.hs index 6da6d2389..00d719bec 100644 --- a/Assistant/Install.hs +++ b/Assistant/Install.hs @@ -145,10 +145,12 @@ installFileManagerHooks program = do , "Name=" ++ command , "Icon=git-annex" , unwords - [ "Exec=sh -c 'cd \"$(dirname '%U')\" &&" + [ "Exec=sh -c 'cd \"$(dirname \"$1\")\" &&" , program , command - , "--notify-start --notify-finish -- %U'" + , "--notify-start --notify-finish -- \"$1\"'" + , "false" -- this becomes $0 in sh, so unused + , "%f" ] ] #else |