wok diff pcmanfm/stuff/actions/slideshow.desktop @ rev 17305
python-cups: fix bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 01 10:55:48 2014 +0100 (2014-11-01) |
parents | cce2b600b834 |
children |
line diff
1.1 --- a/pcmanfm/stuff/actions/slideshow.desktop Thu Oct 30 01:16:39 2014 +0200 1.2 +++ b/pcmanfm/stuff/actions/slideshow.desktop Sat Nov 01 10:55:48 2014 +0100 1.3 @@ -6,26 +6,38 @@ 1.4 Profiles=viewnior_on_folder;viewnior_on_images;gpicview_on_folder;gpicview_on_images; 1.5 1.6 [X-Action-Profile viewnior_on_folder] 1.7 +# if viewnior installed 1.8 TryExec=viewnior 1.9 +# for folders only 1.10 +MimeTypes=inode/directory; 1.11 +# if folder contains *.png, *.jpg, *.jpeg, *.gif or *.svg 1.12 ShowIfTrue=test -n "$(find %f -maxdepth 1 -iname '*.png' -o -iname '*.jpg' -o -iname '*.jpeg' -iname '*.gif' -o -iname '*.svg')" 1.13 Exec=viewnior --fullscreen --slideshow %f 1.14 -MimeTypes=inode/directory; 1.15 1.16 [X-Action-Profile viewnior_on_images] 1.17 +# if viewnior installed 1.18 TryExec=viewnior 1.19 +# for any type of images 1.20 +MimeTypes=image/*; 1.21 +# if few images selected 1.22 +SelectionCount=>1 1.23 Exec=viewnior --fullscreen --slideshow %F 1.24 -MimeTypes=image/*; 1.25 -SelectionCount=>1 1.26 1.27 [X-Action-Profile gpicview_on_folder] 1.28 +# if gpicview installed 1.29 TryExec=gpicview 1.30 +# for folders only 1.31 +MimeTypes=inode/directory; 1.32 +# if folder contains *.png, *.jpg, *.jpeg, *.gif or *.svg 1.33 ShowIfTrue=test -n "$(find %f -maxdepth 1 -iname '*.png' -o -iname '*.jpg' -o -iname '*.jpeg' -iname '*.gif' -o -iname '*.svg')" 1.34 Exec=gpicview --slideshow %f 1.35 -MimeTypes=inode/directory; 1.36 1.37 [X-Action-Profile gpicview_on_images] 1.38 +# if gpicview installed 1.39 TryExec=gpicview 1.40 +# for any type of images 1.41 +MimeTypes=image/*; 1.42 +# if few images selected 1.43 +SelectionCount=>1 1.44 #Bug: gpicview shows other images after selected 1.45 Exec=gpicview --slideshow %F 1.46 -MimeTypes=image/*; 1.47 -SelectionCount=>1