diff src/gtk/menu-items.c @ 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 70d0c9a2e424
children cdabbe5c9a95
line wrap: on
line diff
--- 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);