diff src/gtk/misc-gtk.c @ 500:ba50a7085d93

2004-7-13 Brian Masney <masneyb@gftp.org> * lib/gftp.h lib/local.c lib/protocols.c lib/rfc2068.c lib/rfc959.c lib/sshv2.c - added gftp_stat_filename(). This will retrieve the attributes for the selected file. When downloading a list of items, if one of the items is a symlink, check to see if it points to a directory or file * src/gtk/misc-gtk.c - fix for displaying the folder icon for directories
author masneyb
date Wed, 14 Jul 2004 02:33:42 +0000
parents 39e9945288ea
children 648bf2825ea9
line wrap: on
line diff
--- a/src/gtk/misc-gtk.c	Tue Jul 13 20:17:42 2004 +0000
+++ b/src/gtk/misc-gtk.c	Wed Jul 14 02:33:42 2004 +0000
@@ -693,7 +693,7 @@
     gftp_get_pixmap (wdata->listbox, "linkdir.xpm", &pix, &bitmap);
   else if (S_ISLNK (fle->st_mode))
     gftp_get_pixmap (wdata->listbox, "linkfile.xpm", &pix, &bitmap);
-  else if (S_ISLNK (fle->st_mode))
+  else if (S_ISDIR (fle->st_mode))
     gftp_get_pixmap (wdata->listbox, "dir.xpm", &pix, &bitmap);
   else if ((fle->st_mode & S_IXUSR) ||
            (fle->st_mode & S_IXGRP) ||