[sxiv] Enhance the desktop file

Petr Šabata psabata at fedoraproject.org
Wed Jan 30 08:53:03 UTC 2013


commit 49f0bf89f3b5115ad21f9c1896004f055d062353
Author: Petr Šabata <contyk at redhat.com>
Date:   Wed Jan 30 09:52:24 2013 +0100

    Enhance the desktop file
    
    This update allows sxiv to open more files at once and
    lists the supported MIME types in the desktop file.

 sxiv.desktop |    3 ++-
 sxiv.spec    |    6 +++++-
 2 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/sxiv.desktop b/sxiv.desktop
index 5f5a0e1..3a3e5e8 100644
--- a/sxiv.desktop
+++ b/sxiv.desktop
@@ -2,5 +2,6 @@
 Encoding=UTF-8
 Name=Simple X Image Viewer
 Type=Application
-Exec=sxiv %f
+Exec=sxiv %F
 NoDisplay=true
+MimeType=image/gif;image/jpeg;image/pjpeg;image/png;image/tiff
diff --git a/sxiv.spec b/sxiv.spec
index 39780f7..79c264d 100644
--- a/sxiv.spec
+++ b/sxiv.spec
@@ -1,6 +1,6 @@
 Name:           sxiv
 Version:        1.0
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Simple (or small or suckless) X Image Viewer
 Group:          Applications/Multimedia
 License:        GPLv2+
@@ -39,6 +39,10 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE1}
 %{_datadir}/applications
 
 %changelog
+* Wed Jan 30 2013 Petr Šabata <contyk at redhat.com> - 1.0-4
+- Enhance the desktop file -- allow sxiv to open more files at once and
+  list the supported MIME types (#905678)
+
 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list