summaryrefslogtreecommitdiffstats
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
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>
-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
-rw-r--r--translations/desktop_files/tdeioslave-desktops/tdeioslave-desktops.pot7
4 files changed, 18 insertions, 2 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
diff --git a/translations/desktop_files/tdeioslave-desktops/tdeioslave-desktops.pot b/translations/desktop_files/tdeioslave-desktops/tdeioslave-desktops.pot
index 5634073f7..5a388ddfb 100644
--- a/translations/desktop_files/tdeioslave-desktops/tdeioslave-desktops.pot
+++ b/translations/desktop_files/tdeioslave-desktops/tdeioslave-desktops.pot
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-10-18 11:52+0800\n"
+"POT-Creation-Date: 2020-11-05 21:28+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -374,6 +374,11 @@ msgid "Mount"
msgstr ""
#. Name
+#: media/services/media_realfolder.desktop:10
+msgid "Open Medium System Folder"
+msgstr ""
+
+#. Name
#: media/services/media_safelyremove.desktop:10
msgid "Safely Remove"
msgstr ""