[frogr] Registered frogr as mime handler for some image mime types
- From: Mario Sanchez Prada <msanchez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [frogr] Registered frogr as mime handler for some image mime types
- Date: Fri, 21 Jan 2011 19:38:21 +0000 (UTC)
commit bdb635fb1708aa0e5d290493a09a8b13da120a71
Author: Mario Sanchez Prada <msanchez igalia com>
Date: Fri Jan 21 19:05:09 2011 +0100
Registered frogr as mime handler for some image mime types
data/frogr.desktop.in | 1 +
debian/frogr.postinst | 1 +
debian/frogr.postrm | 1 +
3 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/data/frogr.desktop.in b/data/frogr.desktop.in
index 48030c1..38d06d7 100644
--- a/data/frogr.desktop.in
+++ b/data/frogr.desktop.in
@@ -12,3 +12,4 @@ StartupNotify=true
Icon=frogr
X-Icon-path=/usr/share/pixmaps
X-Window-Icon=frogr
+MimeType=image/jpg;image/jpeg;image/png;image/bmp;image/gif;
diff --git a/debian/frogr.postinst b/debian/frogr.postinst
index 06943d7..1728dfd 100644
--- a/debian/frogr.postinst
+++ b/debian/frogr.postinst
@@ -5,6 +5,7 @@ set -e
if which gtk-update-icon-cache >/dev/null 2>&1 ; then
rm -f /usr/share/icons/hicolor/icon-theme.cache
gtk-update-icon-cache /usr/share/icons/hicolor > /dev/null 2>&1
+ update-mime-database /usr/share/mime > /dev/null 2>&1
fi
#DEBHELPER#
diff --git a/debian/frogr.postrm b/debian/frogr.postrm
index 06943d7..1728dfd 100644
--- a/debian/frogr.postrm
+++ b/debian/frogr.postrm
@@ -5,6 +5,7 @@ set -e
if which gtk-update-icon-cache >/dev/null 2>&1 ; then
rm -f /usr/share/icons/hicolor/icon-theme.cache
gtk-update-icon-cache /usr/share/icons/hicolor > /dev/null 2>&1
+ update-mime-database /usr/share/mime > /dev/null 2>&1
fi
#DEBHELPER#
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]