summaryrefslogtreecommitdiffstats
path: root/src/servicemenus/media_unlock.desktop
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-10-18 12:37:15 +0800
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-10-18 12:37:15 +0800
commit549e06a219069ea41acf119453d0f97431f891d1 (patch)
treeba15fc48bad692b91063dd13fc29d76469f9a801 /src/servicemenus/media_unlock.desktop
parentda3ecba44ddfb9a78dbba61776bae04f17dbfc3e (diff)
downloaddolphin-549e06a219069ea41acf119453d0f97431f891d1.tar.gz
dolphin-549e06a219069ea41acf119453d0f97431f891d1.zip
Added lock/unlock media actions and made safe removal and locking avaiable also for unlocked and mounted medium.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/servicemenus/media_unlock.desktop')
-rw-r--r--src/servicemenus/media_unlock.desktop11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/servicemenus/media_unlock.desktop b/src/servicemenus/media_unlock.desktop
new file mode 100644
index 0000000..85b2519
--- /dev/null
+++ b/src/servicemenus/media_unlock.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+X-TDE-ServiceTypes=media/bluray_encrypted_locked,media/cdrom_encrypted_locked,media/cd-r_encrypted_locked,media/cd-rw_encrypted_locked,media/dvd_encrypted_locked,media/hdd_encrypted_locked,media/removable_encrypted_locked
+Actions=MediaLock;
+Actions=MediaUnlock;
+X-TDE-Priority=TopLevel
+X-TDE-MediaNotifierHide=true
+
+[Desktop Action MediaUnlock]
+Exec=tdeio_media_mounthelper -k %u
+Icon=decrypted
+Name=Unlock