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.

This commit is contained in:
Joey Hess 2015-04-29 15:53:16 -04:00
parent 9d745434f9
commit 995643665a
4 changed files with 20 additions and 2 deletions

View file

@ -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

3
debian/changelog vendored
View file

@ -15,6 +15,9 @@ git-annex (5.20150421) UNRELEASED; urgency=medium
(Needs git 1.8.4 or newer.)
* import: Don't stop entire import when one file fails due to being
gitignored or conflicting with something in the work tree.
* 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.
-- Joey Hess <id@joeyh.name> Tue, 21 Apr 2015 15:54:10 -0400

View file

@ -32,3 +32,6 @@ or simply
# End of transcript or log.
"""]]
> [[fixed|done]]; confirmed the new version still works on filenames with
> spaces in them. --[[Joey]]

View file

@ -0,0 +1,10 @@
[[!comment format=mdwn
username="joey"
subject="""comment 3"""
date="2015-04-29T19:37:42Z"
content="""
So a much newer version than the one in Debian yet..
I tried your command line with the old version in Debian, and it seems to
work ok, so thanks for the improvement!
"""]]