[vlc-commits] Fix KDE solid predicate
Rémi Denis-Courmont
git at videolan.org
Sat Oct 13 19:49:25 CEST 2012
vlc/vlc-2.0 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Oct 13 20:44:44 2012 +0300| [d9c1c0e1b0cacab6d6e049c5aff2de166d7a23dd] | committer: Rémi Denis-Courmont
Fix KDE solid predicate
This partially reverts commit 99ebae0c04aa2ce0b3085fbba78f4245c713d9c2.
(see http://techbase.kde.org/Development/Tutorials/Solid/Device_Actions)
(cherry picked from commit 7df32e49d410253bdbcaf7c7411bde9386c459d8)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=d9c1c0e1b0cacab6d6e049c5aff2de166d7a23dd
---
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