comparison lib/gftp.h @ 19:3b2dcdefc7e9

2002-09-15 Brian Masney <masneyb@gftp.org> * lib/gftp.h (struct gftp_transfer) - changed the type of numfiles and numdirs from unsigned long to long. This must be a signed field. This is a bug I introduced a few days ago. * lib/local.c (local_put_file) - remove the + off of the ab mode to fdopen. This is also a bug I introduced a few days ago. * src/gtk/transfer.c (gftp_gtk_calc_kbs) - make sure that the variable difftime isn't a negative number when computing the KB/s * src/gtk/menu-items.c (save_directory_listing) - remove casts to GTK_OBJECT for the str variable * src/gtk/gftp-gtk.c - use GTK_STOCK_* icons in place of left.xpm, right.xpm, up.xpm, down.xpm and stop.xpm in GTK+ 2.0 port * src/gtk/bookmarks.c - show GTK_STOCK_* icons on the popup menu * src/gtk/bookmarks.c, src/gtk/chmod_dialog.c, src/gtk/menu-items.c, src/gtk/misc-gtk.c, src/gtk/options_dialog.c and src/gtk/view_dialog.c - use gtk_dialog_new_with_buttons in GTK+ 2.0 port to create the dialog. Also, associate gFTP icon with this dialog * src/gtk/misc-gtk.c - changed the interface of MakeEditDialog and MakeYesNoDialog. In the GTK+ 2.0 port, I now use stock icons in the dialog buttons.
author masneyb
date Mon, 16 Sep 2002 12:27:50 +0000
parents ddb983d8574b
children d74bfa342116
comparison
equal deleted inserted replaced
18:6b2e606554aa 19:3b2dcdefc7e9
309 309
310 GList * files, 310 GList * files,
311 * curfle, 311 * curfle,
312 * updfle; 312 * updfle;
313 313
314 unsigned long numfiles, 314 long numfiles,
315 numdirs, 315 numdirs,
316 current_file_number, 316 current_file_number,
317 current_file_retries; 317 current_file_retries;
318 318
319 off_t curtrans, /* Current transfered bytes for this file */ 319 off_t curtrans, /* Current transfered bytes for this file */
320 curresumed, /* Resumed bytes for this file */ 320 curresumed, /* Resumed bytes for this file */
321 trans_bytes, /* Amount of data transfered for entire 321 trans_bytes, /* Amount of data transfered for entire
322 transfer */ 322 transfer */