Mercurial > gftp.yaz
changeset 827:251682017c97
2006-10-15 Brian Masney <masneyb@gftp.org>
* src/gtk/delete_dialog.c (askdel) - fixes displaying the proper number
of directories that will be deleted to the user when there are no files
to delete
* src/uicommon/gftpui.c - removed debugging statements
author | masneyb |
---|---|
date | Sun, 15 Oct 2006 17:02:16 +0000 |
parents | 92ba2b1e144a |
children | db4b34e3f83f |
files | ChangeLog src/gtk/delete_dialog.c src/uicommon/gftpui.c |
diffstat | 3 files changed, 8 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Sun Oct 15 16:25:01 2006 +0000 +++ b/ChangeLog Sun Oct 15 17:02:16 2006 +0000 @@ -1,4 +1,10 @@ 2006-10-15 Brian Masney <masneyb@gftp.org> + * src/gtk/delete_dialog.c (askdel) - fixes displaying the proper number + of directories that will be deleted to the user when there are no files + to delete + + * src/uicommon/gftpui.c - removed debugging statements + * lib/protocols.c (gftp_get_all_subdirs) - use S_ISDIR macro instead of checking the bitmask against S_IFDIR. @@ -3616,7 +3622,7 @@ * cvsclean - added this script - * *.[ch] - added $Id: ChangeLog,v 1.481 2006/10/15 16:25:00 masneyb Exp $ tags + * *.[ch] - added $Id: ChangeLog,v 1.482 2006/10/15 17:02:14 masneyb Exp $ tags * debian/* - updated files from Debian maintainer
--- a/src/gtk/delete_dialog.c Sun Oct 15 16:25:01 2006 +0000 +++ b/src/gtk/delete_dialog.c Sun Oct 15 17:02:16 2006 +0000 @@ -66,7 +66,7 @@ } else if (transfer->numdirs > 0) { - tempstr = g_strdup_printf (_("Are you sure you want to delete these %ld directories"), transfer->numfiles, transfer->numdirs); + tempstr = g_strdup_printf (_("Are you sure you want to delete these %ld directories"), transfer->numdirs); } else return;
--- a/src/uicommon/gftpui.c Sun Oct 15 16:25:01 2006 +0000 +++ b/src/uicommon/gftpui.c Sun Oct 15 17:02:16 2006 +0000 @@ -1470,7 +1470,6 @@ g_static_mutex_lock (&tdata->structmutex); curfle = tdata->curfle->data; -printf ("FIXME - transferring %s\n", curfle->file); tdata->current_file_number++; if (g_thread_supported ()) @@ -1553,19 +1552,9 @@ int gftpui_common_transfer_files (gftp_transfer * tdata) { - gftp_file * curfle; int ret; tdata->curfle = tdata->files; - while (tdata->curfle != NULL) - { - curfle = tdata->curfle->data; - printf ("FILE: %s\n", curfle->file); - tdata->curfle = tdata->curfle->next; - } - - - tdata->curfle = tdata->files; gettimeofday (&tdata->starttime, NULL); memcpy (&tdata->lasttime, &tdata->starttime, sizeof (tdata->lasttime));