Mercurial > gftp.yaz
comparison src/gtk/transfer.c @ 380:05ee37a5558b
2003-1-28 Brian Masney <masneyb@gftp.org>
* src/gtk/bookmarks.c src/gtk/dnd.c src/gtk/gftp-gtk.c
src/gtk/gftp-gtk.h src/gtk/gtkui.c src/gtk/menu-items.c
src/gtk/transfer.c - renamed disconnect() to gftpui_disconnect()
* src/gtk/gtkui.c src/text/textui.c src/uicommon/gftpui.c - improved
prompting for the username/password
* src/gtk/gtkui.c src/text/textui.c src/uicommon/gftpui.c - call
gftpui_disconnect() after a command is run and if we are no longer
connected to the remote host
* src/text/gftp-text.c - parse the command line arguments for the host
to connect to
* src/text/textui.c (gftpui_refresh) - clear the cache.
(gftpui_ask_transfer) - check for carriage return or empty string
* src/uicommon/gftp.h - define gftpui_common_cmd_m{get,put}_file()
* lib/sshv2.c - removed temporary "fix"
author | masneyb |
---|---|
date | Wed, 28 Jan 2004 23:46:28 +0000 |
parents | 14da115b149b |
children | 14ef37b62c20 |
comparison
equal
deleted
inserted
replaced
379:c9aa122a1b92 | 380:05ee37a5558b |
---|---|
39 wdata->files = cdata->files; | 39 wdata->files = cdata->files; |
40 g_free (cdata); | 40 g_free (cdata); |
41 | 41 |
42 if (wdata->files == NULL || !GFTP_IS_CONNECTED (wdata->request)) | 42 if (wdata->files == NULL || !GFTP_IS_CONNECTED (wdata->request)) |
43 { | 43 { |
44 disconnect (wdata); | 44 gftpui_disconnect (wdata); |
45 return (0); | 45 return (0); |
46 } | 46 } |
47 | 47 |
48 wdata->sorted = 0; | 48 wdata->sorted = 0; |
49 sortrows (GTK_CLIST (wdata->listbox), -1, (gpointer) wdata); | 49 sortrows (GTK_CLIST (wdata->listbox), -1, (gpointer) wdata); |
156 else | 156 else |
157 ret = do_getdir_thread (transfer); | 157 ret = do_getdir_thread (transfer); |
158 | 158 |
159 if (!GFTP_IS_CONNECTED (transfer->fromreq)) | 159 if (!GFTP_IS_CONNECTED (transfer->fromreq)) |
160 { | 160 { |
161 disconnect (fromwdata); | 161 gftpui_disconnect (fromwdata); |
162 return; | 162 return; |
163 } | 163 } |
164 | 164 |
165 if (!GFTP_IS_CONNECTED (transfer->toreq)) | 165 if (!GFTP_IS_CONNECTED (transfer->toreq)) |
166 { | 166 { |
167 disconnect (towdata); | 167 gftpui_disconnect (towdata); |
168 return; | 168 return; |
169 } | 169 } |
170 | 170 |
171 gftp_swap_socks (fromwdata->request, transfer->fromreq); | 171 gftp_swap_socks (fromwdata->request, transfer->fromreq); |
172 gftp_swap_socks (towdata->request, transfer->toreq); | 172 gftp_swap_socks (towdata->request, transfer->toreq); |