# HG changeset patch # User masneyb # Date 1070849666 0 # Node ID df4c91bf4adf023f2c504a19d39e59bf8cd3dbd8 # Parent 51bb530a100c4f8504ac8d18bdd106baa65b50b2 2003-12-7 Brian Masney * src/gtk/dnd.c (openurl_get_drag_data) - if we are connected to a remote site, disconnect before parsing the URL. This fixes a bug where the directory was not being refreshed properly (from Aurelien Jarno ) diff -r 51bb530a100c -r df4c91bf4adf ChangeLog --- a/ChangeLog Sun Dec 07 17:25:13 2003 +0000 +++ b/ChangeLog Mon Dec 08 02:14:26 2003 +0000 @@ -1,4 +1,9 @@ 2003-12-7 Brian Masney + * src/gtk/dnd.c (openurl_get_drag_data) - if we are connected to a + remote site, disconnect before parsing the URL. This fixes a bug where + the directory was not being refreshed properly (from Aurelien Jarno + ) + * configure.in acinclude.m4 lib/misc.c - added AC_INTL_PRINTF macro. If the printf family of functions supports %'ld, then HAVE_INTL_PRINTF will be defined. The appropriate version of insert_commas() can be @@ -1807,7 +1812,7 @@ * cvsclean - added this script - * *.[ch] - added $Id: ChangeLog,v 1.179 2003/12/07 17:25:13 masneyb Exp $ tags + * *.[ch] - added $Id: ChangeLog,v 1.180 2003/12/08 02:14:25 masneyb Exp $ tags * debian/* - updated files from Debian maintainer diff -r 51bb530a100c -r df4c91bf4adf src/gtk/dnd.c --- a/src/gtk/dnd.c Sun Dec 07 17:25:13 2003 +0000 +++ b/src/gtk/dnd.c Mon Dec 08 02:14:26 2003 +0000 @@ -100,14 +100,12 @@ { if ((selection_data->length >= 0) && (selection_data->format == 8)) { + if (GFTP_IS_CONNECTED (current_wdata->request)) + disconnect (current_wdata); + if (gftp_parse_url (current_wdata->request, (char *) selection_data->data) == 0) - { - if (GFTP_IS_CONNECTED (current_wdata->request)) - disconnect (current_wdata); - - ftp_connect (current_wdata, current_wdata->request, 1); - } + ftp_connect (current_wdata, current_wdata->request, 1); } }