# Description: Provide a gthumb-import.desktop which works with nautilus and gphoto cameras.
# Ubuntu: https://launchpad.net/bugs/287689
# Upstream: http://bugzilla.gnome.org/show_bug.cgi?id=560352
Index: gthumb-2.10.10/data/Makefile.am
===================================================================
--- gthumb-2.10.10.orig/data/Makefile.am	2008-11-11 15:46:55.000000000 +0100
+++ gthumb-2.10.10/data/Makefile.am	2008-11-11 15:48:51.000000000 +0100
@@ -3,7 +3,7 @@
 @INTLTOOL_DESKTOP_RULE@
 
 desktopdir = $(datadir)/applications
-desktop_in_files=gthumb.desktop.in
+desktop_in_files=gthumb.desktop.in gthumb-import.desktop.in
 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) 
 
 icondir = $(datadir)/icons/hicolor/48x48/apps
Index: gthumb-2.10.10/data/gthumb-import.desktop.in
===================================================================
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ gthumb-2.10.10/data/gthumb-import.desktop.in	2008-11-11 15:50:22.000000000 +0100
@@ -0,0 +1,16 @@
+[Desktop Entry]
+_Name=gThumb Image Viewer
+_GenericName=Image Viewer
+_Comment=View and organize your images
+Categories=GNOME;GTK;Graphics;Viewer;RasterGraphics;2DGraphics;Photography;
+Exec=sh -c 'gvfs-mount -u "%U"; exec gthumb --import-photos'
+Icon=gthumb
+MimeType=x-content/image-dcf;x-content/image-picturecd;
+NoDisplay=true
+StartupNotify=true
+Terminal=false
+Type=Application
+X-GNOME-Bugzilla-Bugzilla=GNOME
+X-GNOME-Bugzilla-Product=gthumb
+X-GNOME-Bugzilla-Component=general
+X-GNOME-DocPath=gthumb/gthumb.xml
Index: gthumb-2.10.10/data/gthumb.desktop.in
===================================================================
--- gthumb-2.10.10.orig/data/gthumb.desktop.in	2008-11-11 15:46:33.000000000 +0100
+++ gthumb-2.10.10/data/gthumb.desktop.in	2008-11-11 15:47:15.000000000 +0100
@@ -5,7 +5,7 @@
 Categories=GNOME;GTK;Graphics;Viewer;RasterGraphics;2DGraphics;Photography;
 Exec=gthumb %U
 Icon=gthumb
-MimeType=image/bmp;image/jpeg;image/gif;image/png;image/tiff;image/x-bmp;image/x-ico;image/x-png;image/x-pcx;image/x-tga;image/xpm;image/svg+xml;x-content/image-dcf;x-content/image-picturecd;
+MimeType=image/bmp;image/jpeg;image/gif;image/png;image/tiff;image/x-bmp;image/x-ico;image/x-png;image/x-pcx;image/x-tga;image/xpm;image/svg+xml;
 StartupNotify=true
 Terminal=false
 Type=Application
