Steve Langasek [2008-11-12 8:51 -0000]:
> This patch also changes the MimeType field in the standard gthumb
> desktop file, but this isn't mentioned in the changelog; what's the
> reason for this change?
x-content/* is used for the "what do you want to do with your camera"
import dialog when you plug one in, whereas image/* is used for "open
file with application.." in nautilus. Originally gthumb.desktop was
used for import, too, which doesn't work (calling gthumb with
gphoto:// URL). So the MIME types were split between gthumb.desktop
(for image viewing, passing the image path) and gthumb-import.desktop
for camera import, passing --import-camera).
Steve Langasek [2008-11-12 8:51 -0000]:
> This patch also changes the MimeType field in the standard gthumb
> desktop file, but this isn't mentioned in the changelog; what's the
> reason for this change?
x-content/* is used for the "what do you want to do with your camera" import. desktop
import dialog when you plug one in, whereas image/* is used for "open
file with application.." in nautilus. Originally gthumb.desktop was
used for import, too, which doesn't work (calling gthumb with
gphoto:// URL). So the MIME types were split between gthumb.desktop
(for image viewing, passing the image path) and gthumb-
for camera import, passing --import-camera).