changeset 807:a3fd5e501513

2006-8-10 Brian Masney <masneyb@gftp.org> * src/gtk/gtkui.c (gftpui_refresh) - delete the cache entry before checking to see if it needs to reconnect to the remote server
author masneyb
date Sun, 10 Sep 2006 16:10:44 +0000
parents 0807446c6f11
children 72400fdbd0ed
files ChangeLog src/gtk/gtkui.c
diffstat 2 files changed, 7 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Sep 10 16:06:02 2006 +0000
+++ b/ChangeLog	Sun Sep 10 16:10:44 2006 +0000
@@ -1,4 +1,7 @@
 2006-8-10 Brian Masney <masneyb@gftp.org>
+	* src/gtk/gtkui.c (gftpui_refresh) - delete the cache entry before
+	checking to see if it needs to reconnect to the remote server
+
 	* src/uicommon/gftpui.c (gftpui_common_cmd_site) - make sure the
 	toggled state is enabled so that the command is prepended with the 
 	SITE command
@@ -3555,7 +3558,7 @@
 
 	* cvsclean - added this script
 
-	* *.[ch] - added $Id: ChangeLog,v 1.469 2006/09/10 16:06:01 masneyb Exp $ tags
+	* *.[ch] - added $Id: ChangeLog,v 1.470 2006/09/10 16:10:40 masneyb Exp $ tags
 
 	* debian/* - updated files from Debian maintainer
 
--- a/src/gtk/gtkui.c	Sun Sep 10 16:06:02 2006 +0000
+++ b/src/gtk/gtkui.c	Sun Sep 10 16:10:44 2006 +0000
@@ -51,15 +51,15 @@
   if (!check_status (_("Refresh"), wdata, 0, 0, 0, 1))
     return;
 
+  if (clear_cache_entry)
+    gftp_delete_cache_entry (wdata->request, NULL, 0);
+
   if (check_reconnect (wdata) < 0)
     return;
 
   gtk_clist_freeze (GTK_CLIST (wdata->listbox));
   remove_files_window (wdata);
 
-  if (clear_cache_entry)
-    gftp_delete_cache_entry (wdata->request, NULL, 0);
-
   ftp_list_files (wdata);
   gtk_clist_thaw (GTK_CLIST (wdata->listbox));
 }