[vlc-commits] Fix KDE solid predicate

Rémi Denis-Courmont git at videolan.org
Sat Oct 13 19:48:38 CEST 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Oct 13 20:44:44 2012 +0300| [7df32e49d410253bdbcaf7c7411bde9386c459d8] | committer: Rémi Denis-Courmont

Fix KDE solid predicate

This partially reverts commit 99ebae0c04aa2ce0b3085fbba78f4245c713d9c2.
(see http://techbase.kde.org/Development/Tutorials/Solid/Device_Actions)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7df32e49d410253bdbcaf7c7411bde9386c459d8
---

 share/solid/vlc-opendvd.desktop |    2 +-
 share/solid/vlc-openvcd.desktop |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/share/solid/vlc-opendvd.desktop b/share/solid/vlc-opendvd.desktop
index 620a396..eae868e 100644
--- a/share/solid/vlc-opendvd.desktop
+++ b/share/solid/vlc-opendvd.desktop
@@ -1,5 +1,5 @@
 [Desktop Entry]
-X-KDE-Solid-Predicate=[ StorageVolume.ignored == false AND OpticalDisc.availableContent == 'Data|VideoDvd' ]
+X-KDE-Solid-Predicate=[ StorageVolume.ignored == false AND OpticalDisc.availableContent & 'VideoDvd' ]
 Type=Service
 Actions=open;
 
diff --git a/share/solid/vlc-openvcd.desktop b/share/solid/vlc-openvcd.desktop
index 2965ea5..b612107 100644
--- a/share/solid/vlc-openvcd.desktop
+++ b/share/solid/vlc-openvcd.desktop
@@ -1,5 +1,5 @@
 [Desktop Entry]
-X-KDE-Solid-Predicate=[ StorageVolume.ignored == false AND OpticalDisc.availableContent == 'VideoCd|SuperVideoCd' ]
+X-KDE-Solid-Predicate=[ StorageVolume.ignored == false AND OpticalDisc.availableContent & 'VideoCd|SuperVideoCd' ]
 Type=Service
 Actions=open;
 



More information about the vlc-commits mailing list