changeset 295:ab4c90a561fc

2003-10-25 Brian Masney <masneyb@gftp.org> * src/gtk/menu-items.c (dosave_directory_listing) - when saving the directory listing, skip over the files that are not shown based on the current filespec.
author masneyb
date Sat, 25 Oct 2003 22:37:48 +0000
parents 4747f621b79b
children 51725086634d
files ChangeLog src/gtk/menu-items.c
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Oct 25 21:33:46 2003 +0000
+++ b/ChangeLog	Sat Oct 25 22:37:48 2003 +0000
@@ -1,4 +1,8 @@
 2003-10-25 Brian Masney <masneyb@gftp.org>
+	* src/gtk/menu-items.c (dosave_directory_listing) - when saving the
+	directory listing, skip over the files that are not shown based on the
+	current filespec.
+
 	* src/gtk/transfer.c src/gtk/gftp-gtk.h src/gtk/view_dialog.c - when
 	editing a remote file, if the user chooses to upload the changes, make
 	sure the upload is not sent to the current directory on the remote
@@ -1614,7 +1618,7 @@
 
 	* cvsclean - added this script
 
-	* *.[ch] - added $Id: ChangeLog,v 1.156 2003/10/25 21:33:40 masneyb Exp $ tags
+	* *.[ch] - added $Id: ChangeLog,v 1.157 2003/10/25 22:37:47 masneyb Exp $ tags
 
 	* debian/* - updated files from Debian maintainer
 
--- a/src/gtk/menu-items.c	Sat Oct 25 21:33:46 2003 +0000
+++ b/src/gtk/menu-items.c	Sat Oct 25 22:37:48 2003 +0000
@@ -228,6 +228,9 @@
     {
       tempfle = templist->data;
 
+      if (!tempfle->shown)
+        continue;
+
       tempstr = gftp_gen_ls_string (tempfle, NULL, NULL);
       fprintf (fd, "%s\n", tempstr);
       g_free (tempstr);