summaryrefslogtreecommitdiffstats
path: root/konq-plugins
diff options
context:
space:
mode:
Diffstat (limited to 'konq-plugins')
-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 aee3c6f..62b0ca7 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/\.[^.\/]+\n//'`.jpg"
+Exec=convert %f -set filename:base "%d/%t" '%[filename:base].jpg'
[Desktop Action convToPNG]
Name=PNG
Icon=image-x-generic
-Exec=convert %f "`echo %f | perl -pe 's/\.[^.\/]+\n//'`.png"
+Exec=convert %f -set filename:base "%d/%t" '%[filename:base].png'
[Desktop Action convToTIF]
Name=TIF
Icon=image-x-generic
-Exec=convert %f "`echo %f | perl -pe 's/\.[^.\/]+\n//'`.tif"
+Exec=convert %f -set filename:base "%d/%t" '%[filename:base].tif'
[Desktop Action convToGIF]
Name=GIF
Icon=image-x-generic
-Exec=convert %f "`echo %f | perl -pe 's/\.[^.\/]+\n//'`.gif"
+Exec=convert %f -set filename:base "%d/%t" '%[filename:base].gif'