davemds pushed a commit to branch master.

http://git.enlightenment.org/apps/ephoto.git/commit/?id=59fab60f1b787aaf716ad08bbd2014d981e0c9d0

commit 59fab60f1b787aaf716ad08bbd2014d981e0c9d0
Author: Dave Andreoli <d...@gurumeditation.it>
Date:   Tue Jan 27 00:24:31 2015 +0100

    Better Exec line in the desktop file
    
    %u means that ephoto accept a single url as param
    
    Whitout this filemanagers (nemo at least) never list ephoto
    as a suggested default for your files and you cannot
    set it as your default viewer.
---
 data/desktop/ephoto.desktop | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/desktop/ephoto.desktop b/data/desktop/ephoto.desktop
index 50e1ba2..3a8c414 100644
--- a/data/desktop/ephoto.desktop
+++ b/data/desktop/ephoto.desktop
@@ -29,7 +29,7 @@ Comment[ru]=Просмотр фото
 Comment[sr]=Просвећени прегледник слика
 Comment[tr]=Fotoğraf görüntüleyici
 Icon=ephoto
-Exec=ephoto
+Exec=ephoto %u
 Terminal=false
 
MimeType=inode/directory;image/png;image/jpeg;image/pjpeg;image/x-xpixmap;image/tiff;image/svg+xml;image/svg+xml-compressed;image/gif;image/x-portable-anymap;image/x-portable-bitmap;image/x-portable-graymap;image/x-portable-pixmap;image/bmp;image/x-bmp;image/x-tga;image/vnd.wap.wbmp;image/webp;image/vnd.microsoft.icon;image/ico;image/x-ico;image/x-win-bitmap;image/vnd.adobe.photoshop;image/x-psd;application/pdf;application/x-pdf;image/pdf;application/postscript;image/x-xcf;image/x-compre
 [...]
 Categories=Graphics;Viewer;

-- 


Reply via email to