Mercurial > gftp.yaz
comparison src/gtk/gftp-gtk.c @ 640:cad45ebbc520
2004-12-12 Brian Masney <masneyb@gftp.org>
* src/gtk/gftp-gtk.c (toolbar_hostedit) - use gftp_disconnect() instead
of gftpui_disconnect(). The gftpui_disconnect() function will clear out
the directory in the request structure
author | masneyb |
---|---|
date | Sun, 12 Dec 2004 11:26:15 +0000 |
parents | 461ae1bba8b6 |
children | 8990a8a26ccf |
comparison
equal
deleted
inserted
replaced
639:0a3b995b8ddd | 640:cad45ebbc520 |
---|---|
1064 _("Connect")); | 1064 _("Connect")); |
1065 return; | 1065 return; |
1066 } | 1066 } |
1067 | 1067 |
1068 if (GFTP_IS_CONNECTED (current_wdata->request)) | 1068 if (GFTP_IS_CONNECTED (current_wdata->request)) |
1069 gftpui_disconnect (current_wdata); | 1069 gftp_disconnect (current_wdata->request); |
1070 | 1070 |
1071 tempwid = gtk_menu_get_active (GTK_MENU (protocol_menu)); | 1071 tempwid = gtk_menu_get_active (GTK_MENU (protocol_menu)); |
1072 num = GPOINTER_TO_INT (gtk_object_get_user_data (GTK_OBJECT (tempwid))); | 1072 num = GPOINTER_TO_INT (gtk_object_get_user_data (GTK_OBJECT (tempwid))); |
1073 init = gftp_protocols[num].init; | 1073 init = gftp_protocols[num].init; |
1074 if (init (current_wdata->request) < 0) | 1074 if (init (current_wdata->request) < 0) |