diff options
author | Michele Calgaro <[email protected]> | 2023-07-14 11:16:27 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-07-17 19:53:18 +0900 |
commit | 97029726d5e2cb8e9eae0fa8d07f481dc243cd60 (patch) | |
tree | b84888774844494ba441ab3bbf2eb870a008b7a8 | |
parent | b5ae045e4d4ec4a3736719acc3d078f227653889 (diff) | |
download | tdeaddons-97029726d5e2cb8e9eae0fa8d07f481dc243cd60.tar.gz tdeaddons-97029726d5e2cb8e9eae0fa8d07f481dc243cd60.zip |
Fix image conversion naming of files with multiple dots in the name. This resolves issue TDE/tdebase#376
Signed-off-by: Michele Calgaro <[email protected]>
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit 5de65922373dfa10fd63b3f59378e89c64f9307b)
-rw-r--r-- | konq-plugins/imagerotation/imageconverter.desktop | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/konq-plugins/imagerotation/imageconverter.desktop b/konq-plugins/imagerotation/imageconverter.desktop index 07270cc..aee3c6f 100644 --- a/konq-plugins/imagerotation/imageconverter.desktop +++ b/konq-plugins/imagerotation/imageconverter.desktop @@ -12,19 +12,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" |