diff options
Diffstat (limited to 'libgphoto2')
-rw-r--r-- | libgphoto2/gphoto2-file.c | 2 | ||||
-rw-r--r-- | libgphoto2/gphoto2-filesys.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/libgphoto2/gphoto2-file.c b/libgphoto2/gphoto2-file.c index ecc711c7f..349218d14 100644 --- a/libgphoto2/gphoto2-file.c +++ b/libgphoto2/gphoto2-file.c @@ -586,6 +586,7 @@ static const char *mime_table[] = { "mts", GP_MIME_AVCHD, "m2ts", GP_MIME_AVCHD, "arw", GP_MIME_ARW, + "txt", GP_MIME_TXT, NULL}; /** * @param file a #CameraFile @@ -1073,6 +1074,7 @@ gp_file_adjust_name_for_mime_type (CameraFile *file) GP_MIME_AVI, "avi", GP_MIME_CRW, "crw", GP_MIME_CR2, "cr2", + GP_MIME_TXT, "txt", NULL}; C_PARAMS (file); diff --git a/libgphoto2/gphoto2-filesys.c b/libgphoto2/gphoto2-filesys.c index c1d65772c..129bec5ca 100644 --- a/libgphoto2/gphoto2-filesys.c +++ b/libgphoto2/gphoto2-filesys.c @@ -1587,8 +1587,8 @@ gp_filesystem_get_file_impl (CameraFilesystem *fs, const char *folder, return GP_OK; } - gp_context_status (context, _("Downloading '%s' from folder '%s'..."), - filename, folder); + GP_LOG_D ("Downloading '%s' from folder '%s'...", filename, folder); + CR (fs->get_file_func (fs, folder, filename, type, file, fs->data, context)); |