]> git.sesse.net Git - vlc/commitdiff
Fix KDE solid predicate
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 13 Oct 2012 17:44:44 +0000 (20:44 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 13 Oct 2012 17:45:57 +0000 (20:45 +0300)
This partially reverts commit 99ebae0c04aa2ce0b3085fbba78f4245c713d9c2.
(see http://techbase.kde.org/Development/Tutorials/Solid/Device_Actions)

share/solid/vlc-opendvd.desktop
share/solid/vlc-openvcd.desktop

index 620a396e6fe7ea6ec120289b7a0d142aab4d3cee..eae868eecb8b7d3a38eea3f8dfa289195158a8d4 100644 (file)
@@ -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;
 
index 2965ea55f6d8169f2381935c390256c8f7625fd8..b6121070585866d1e25cd35f9a0fe23da622b1d8 100644 (file)
@@ -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;