Browse Source

Fix for KDE device actions

This tiny patch enables opening of VideoCD/AudioCD/DVD discs with VLC in KDE when inserted, which was broken before.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
pull/2/head
Lari Natri 16 years ago
committed by Rémi Denis-Courmont
parent
commit
99ebae0c04
  1. 2
      share/solid/vlc-opencda.desktop
  2. 4
      share/solid/vlc-opendvd.desktop
  3. 4
      share/solid/vlc-openvcd.desktop

2
share/solid/vlc-opencda.desktop

@ -5,6 +5,6 @@ Actions=open;
[Desktop Action open]
Name=Open with VLC media player
Exec=vlc cdda://
Exec=vlc cdda://%d
Icon=vlc

4
share/solid/vlc-opendvd.desktop

@ -1,10 +1,10 @@
[Desktop Entry]
X-KDE-Solid-Predicate=[ StorageVolume.ignored == false AND OpticalDisc.availableContent & 'VideoDvd' ]
X-KDE-Solid-Predicate=[ StorageVolume.ignored == false AND OpticalDisc.availableContent == 'Data|VideoDvd' ]
Type=Service
Actions=open;
[Desktop Action open]
Name=Open with VLC media player
Exec=vlc dvd://
Exec=vlc dvd://%d
Icon=vlc

4
share/solid/vlc-openvcd.desktop

@ -1,10 +1,10 @@
[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;
[Desktop Action open]
Name=Open with VLC media player
Exec=vlc vcd://
Exec=vlc vcd://%d
Icon=vlc

Loading…
Cancel
Save