summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-14 11:16:27 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-17 19:41:28 +0900
commit5de65922373dfa10fd63b3f59378e89c64f9307b (patch)
treeb84888774844494ba441ab3bbf2eb870a008b7a8
parentf07dd2b54f701253bd03c34e4d8896ab912ea5cf (diff)
downloadtdeaddons-5de65922.tar.gz
tdeaddons-5de65922.zip
Fix image conversion naming of files with multiple dots in the name. This resolves issue TDE/tdebase#376
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--konq-plugins/imagerotation/imageconverter.desktop8
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"