21/01/2002 Donn Morrison

changed GPContext download string to the filename so you can tell what file you're downloading.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3969 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
Donn Morrison
2002-01-21 08:59:43 +00:00
parent 790d996328
commit 5aa804da03

View File

@@ -383,7 +383,7 @@ int dc3200_get_data(Camera *camera, u_char **data, u_long *data_len, int command
/* update gphoto2 frontend */
if(command == CMD_GET_FILE || command == CMD_GET_PREVIEW)
{
pid = gp_context_progress_start(camera->pl->context,(int)*data_len,_("Downloading image..."));
pid = gp_context_progress_start(camera->pl->context,(int)*data_len,_("%s"), filename);
gp_context_progress_update(camera->pl->context, pid, ptr_data - *data);
if(gp_context_cancel(camera->pl->context) == GP_CONTEXT_FEEDBACK_CANCEL) {
free(*data);