summaryrefslogtreecommitdiffstats
path: root/tdeioslave
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-11-05 21:29:11 +0800
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-11-05 22:44:48 +0800
commite24245d45c0bb611cf83cefc4c7ee26d81588d3e (patch)
treed0c045576d78414f2f7a6a47c9612d40e5a23707 /tdeioslave
parent642bc50e1834a1ed3b49e2a21e8ec38aa7880d20 (diff)
downloadtdebase-e24245d45c0bb611cf83cefc4c7ee26d81588d3e.tar.gz
tdebase-e24245d45c0bb611cf83cefc4c7ee26d81588d3e.zip
tdeioslaves media: added "Open Medium System Folder" action, previously
in tdeaddons. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeioslave')
-rw-r--r--tdeioslave/media/services/CMakeLists.txt1
-rw-r--r--tdeioslave/media/services/Makefile.am2
-rw-r--r--tdeioslave/media/services/media_realfolder.desktop10
3 files changed, 12 insertions, 1 deletions
diff --git a/tdeioslave/media/services/CMakeLists.txt b/tdeioslave/media/services/CMakeLists.txt
index 9b66bd7a8..932188725 100644
--- a/tdeioslave/media/services/CMakeLists.txt
+++ b/tdeioslave/media/services/CMakeLists.txt
@@ -16,6 +16,7 @@ tde_create_translated_desktop(
media_mount.desktop media_unmount.desktop
media_unlock.desktop media_lock.desktop
media_eject.desktop media_safelyremove.desktop
+ media_realfolder.desktop
DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus
PO_DIR tdeioslave-desktops
)
diff --git a/tdeioslave/media/services/Makefile.am b/tdeioslave/media/services/Makefile.am
index 5dc9155c4..e08b06be8 100644
--- a/tdeioslave/media/services/Makefile.am
+++ b/tdeioslave/media/services/Makefile.am
@@ -1,3 +1,3 @@
servicesdir = $(kde_datadir)/konqueror/servicemenus
-services_DATA = media_mount.desktop media_unmount.desktop media_unlock.desktop media_lock.desktop media_eject.desktop media_safelyremove.desktop
+services_DATA = media_mount.desktop media_unmount.desktop media_unlock.desktop media_lock.desktop media_eject.desktop media_safelyremove.desktop media_realfolder.desktop
diff --git a/tdeioslave/media/services/media_realfolder.desktop b/tdeioslave/media/services/media_realfolder.desktop
new file mode 100644
index 000000000..cc206fe87
--- /dev/null
+++ b/tdeioslave/media/services/media_realfolder.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+X-TDE-ServiceTypes=media/bluray_mounted,media/cdrom_mounted,media/cd-r_mounted,media/cd-rw_mounted,media/dvd_mounted,media/floppy5_mounted,media/floppy_mounted,media/hdd_mounted,media/nfs_mounted,media/smb_mounted,media/removable_mounted,media/zip_mounted
+Actions=MediaRealFolder
+X-TDE-Priority=TopLevel
+X-TDE-MediaNotifierHide=true
+
+[Desktop Action MediaRealFolder]
+Exec=tdeio_media_mounthelper -f %u
+Icon=folder_red
+Name=Open Medium System Folder