summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-17 13:57:17 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-17 19:52:26 +0900
commit9af3b341a19756303a058aea839a08192aeda7f8 (patch)
tree392fc58b4c0df80629d32ee1a609ed5f81361307
parent878adb72a7171c11a829fb0ac8a4a58d62ac14ee (diff)
downloaddolphin-9af3b341a19756303a058aea839a08192aeda7f8.tar.gz
dolphin-9af3b341a19756303a058aea839a08192aeda7f8.zip
Add more options to "Set as Background" menu in Dolphin.
This resolves issue #17. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 6fbe7fe21375d7f2da64605792e30204a2a2e89b)
-rw-r--r--src/servicemenus/kdesktopSetAsBackground.desktop42
1 files changed, 36 insertions, 6 deletions
diff --git a/src/servicemenus/kdesktopSetAsBackground.desktop b/src/servicemenus/kdesktopSetAsBackground.desktop
index a7ba4f1..f422c07 100644
--- a/src/servicemenus/kdesktopSetAsBackground.desktop
+++ b/src/servicemenus/kdesktopSetAsBackground.desktop
@@ -1,14 +1,44 @@
[Desktop Entry]
X-TDE-ServiceTypes=image/*
-Actions=setAsBackground;tileAsBackground;
+Actions=centeredAsBackground;tiledAsBackground;centeredTiledAsBackground;centeredMaxpectAsBackground;tiledMaxpectAsBackground;scaledAsBackground;centeredAutoFitAsBackground;scaleAndCropAsBackground
X-TDE-Submenu=Set as Background
-[Desktop Action setAsBackground]
-Name=Centered
+[Desktop Action centeredAsBackground]
+Name=&Centered
Icon=background
-Exec=dcop kdesktop KBackgroundIface setWallpaper %u 6
+Exec=dcop kdesktop KBackgroundIface setWallpaper %u 1
-[Desktop Action tileAsBackground]
-Name=Tiled
+[Desktop Action tiledAsBackground]
+Name=&Tiled
Icon=background
Exec=dcop kdesktop KBackgroundIface setWallpaper %u 2
+
+[Desktop Action centeredTiledAsBackground]
+Name=C&enter Tiled
+Icon=background
+Exec=dcop kdesktop KBackgroundIface setWallpaper %u 3
+
+[Desktop Action centeredMaxpectAsBackground]
+Name=Ce&ntered Maxpect
+Icon=background
+Exec=dcop kdesktop KBackgroundIface setWallpaper %u 4
+
+[Desktop Action tiledMaxpectAsBackground]
+Name=Tiled &Maxpect
+Icon=background
+Exec=dcop kdesktop KBackgroundIface setWallpaper %u 5
+
+[Desktop Action scaledAsBackground]
+Name=&Scaled
+Icon=background
+Exec=dcop kdesktop KBackgroundIface setWallpaper %u 6
+
+[Desktop Action centeredAutoFitAsBackground]
+Name=Centered &Auto Fit
+Icon=background
+Exec=dcop kdesktop KBackgroundIface setWallpaper %u 7
+
+[Desktop Action scaleAndCropAsBackground]
+Name=Sca&le && Crop
+Icon=background
+Exec=dcop kdesktop KBackgroundIface setWallpaper %u 8