[vlc-commits] commit: Adding actions for KDE4 Solid (Hugo Beauzee-Luyssen )
git at videolan.org
git at videolan.org
Thu Mar 25 22:01:17 CET 2010
vlc | branch: master | Hugo Beauzee-Luyssen <beauze.h at gmail.com> | Thu Mar 25 10:49:55 2010 +0100| [8d9710a112275985fe786d59e78506286a23fd34] | committer: Christophe Mutricy
Adding actions for KDE4 Solid
Signed-off-by: Christophe Mutricy <xtophe at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8d9710a112275985fe786d59e78506286a23fd34
---
share/solid/vlc-opencda.desktop | 10 ++++++++++
share/solid/vlc-opendvd.desktop | 10 ++++++++++
share/solid/vlc-openvcd.dekstop | 10 ++++++++++
3 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/share/solid/vlc-opencda.desktop b/share/solid/vlc-opencda.desktop
new file mode 100644
index 0000000..5aee486
--- /dev/null
+++ b/share/solid/vlc-opencda.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+X-KDE-Solid-Predicate=[ StorageVolume.ignored == false AND OpticalDisc.availableContent == 'Audio' ]
+Type=Service
+Actions=open;
+
+[Desktop Action open]
+Name=Open with VLC media player
+Exec=vlc cdda://
+Icon=vlc
+
diff --git a/share/solid/vlc-opendvd.desktop b/share/solid/vlc-opendvd.desktop
new file mode 100644
index 0000000..f16460d
--- /dev/null
+++ b/share/solid/vlc-opendvd.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+X-KDE-Solid-Predicate=[[ StorageVolume.ignored == false AND OpticalDisc.availableContent == 'VideoDvd' ]]
+Type=Service
+Actions=open;
+
+[Desktop Action open]
+Name=Open with VLC media player
+Exec=vlc dvd://
+Icon=vlc
+
diff --git a/share/solid/vlc-openvcd.dekstop b/share/solid/vlc-openvcd.dekstop
new file mode 100644
index 0000000..4611eeb
--- /dev/null
+++ b/share/solid/vlc-openvcd.dekstop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+X-KDE-Solid-Predicate=[[ StorageVolume.ignored == false AND OpticalDisc.availableContent == 'VideoCd|SuperVideoCd' ]]
+Type=Service
+Actions=open;
+
+[Desktop Action open]
+Name=Open with VLC media player
+Exec=vlc vcd://
+Icon=vlc
+
More information about the vlc-commits
mailing list