diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-17 20:48:26 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-17 20:48:26 +0900 |
commit | 5cf69458e44e0c7cf711963e2950aa3be624e36c (patch) | |
tree | b2191c34a0231315ecb046e419a18c2a4b6d7797 /src/servicemenus | |
parent | 6fbe7fe21375d7f2da64605792e30204a2a2e89b (diff) | |
download | dolphin-5cf69458e44e0c7cf711963e2950aa3be624e36c.tar.gz dolphin-5cf69458e44e0c7cf711963e2950aa3be624e36c.zip |
Fix image conversion naming of files with multiple dots in the name. This relates to issue TDE/tdebase#376
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/servicemenus')
-rw-r--r-- | src/servicemenus/imageconverter.desktop | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/servicemenus/imageconverter.desktop b/src/servicemenus/imageconverter.desktop index c7b464c..8da4b6f 100644 --- a/src/servicemenus/imageconverter.desktop +++ b/src/servicemenus/imageconverter.desktop @@ -11,20 +11,19 @@ TryExec=convert [Desktop Action convToJPEG] Name=JPEG Icon=image-x-generic -Exec=convert %f "`echo %f | perl -pe 's/\.[^.]+$//'`.jpg" +Exec=convert %f "`echo %f | perl -pe 's/\.[^.\/]+\n//'`.jpg" [Desktop Action convToPNG] Name=PNG Icon=image-x-generic -Exec=convert %f "`echo %f | perl -pe 's/\.[^.]+$//'`.png" +Exec=convert %f "`echo %f | perl -pe 's/\.[^.\/]+\n//'`.png" [Desktop Action convToTIF] Name=TIF Icon=image-x-generic -Exec=convert %f "`echo %f | perl -pe 's/\.[^.]+$//'`.tif" +Exec=convert %f "`echo %f | perl -pe 's/\.[^.\/]+\n//'`.tif" [Desktop Action convToGIF] Name=GIF Icon=image-x-generic -Exec=convert %f "`echo %f | perl -pe 's/\.[^.]+$//'`.gif" - +Exec=convert %f "`echo %f | perl -pe 's/\.[^.\/]+\n//'`.gif" |