comparison src/gtk/gtkui_transfer.c @ 397:14ef37b62c20

2004-2-8 Brian Masney <masneyb@gftp.org> * src/gtk/gftp-gtk.h src/gtk/gtkui.c - added gftpui_gtk_get_utf8_file_pos() that will return the file in UTF8 format if it is available * src/gtk/gtkui_transfer.c src/gtk/transfer.c - call gftpui_gtk_get_utf8_file_pos() to display the file in the file transfer status. This fixes a bug where non-UTF8 files were being chopped off * src/text/textui.c src/uicommon/gftpui.c src/uicommon/gftpui.h src/text/gtkui_transfer.c - updated declaration of gftpui_add_file_to_transfer() * lib/protocols.c (gftp_swap_socks) - swap the SSL sockets between the two request structures * lib/ftps.c - added ftps_get_next_file() that will pull items from the cache properly * lib/Makefile.am - updated LOCALE_DIR declaration (from Sung-Hyun Nam <namsh@kldp.org>) * ChangeLog-old - updated summary of changes since 2.0.16 * TODO - removed several items that were completed
author masneyb
date Sun, 08 Feb 2004 16:19:26 +0000
parents 712d3810f4e1
children 39e9945288ea
comparison
equal deleted inserted replaced
396:151d91e84b39 397:14ef37b62c20
45 /* Not used in GTK+ port. This is polled instead */ 45 /* Not used in GTK+ port. This is polled instead */
46 } 46 }
47 47
48 48
49 void 49 void
50 gftpui_add_file_to_transfer (gftp_transfer * tdata, GList * curfle, 50 gftpui_add_file_to_transfer (gftp_transfer * tdata, GList * curfle)
51 char *filepos)
52 { 51 {
53 gftpui_common_curtrans_data * transdata; 52 gftpui_common_curtrans_data * transdata;
53 char *text[2];
54 gftp_file * fle; 54 gftp_file * fle;
55 char *text[2];
56 55
57 fle = curfle->data; 56 fle = curfle->data;
58 text[0] = filepos; 57 text[0] = gftpui_gtk_get_utf8_file_pos (fle);
58
59 if (fle->transfer_action == GFTP_TRANS_ACTION_SKIP) 59 if (fle->transfer_action == GFTP_TRANS_ACTION_SKIP)
60 text[1] = _("Skipped"); 60 text[1] = _("Skipped");
61 else 61 else
62 text[1] = _("Waiting..."); 62 text[1] = _("Waiting...");
63 63