diff src/gtk/transfer.c @ 37:5a178bd04ca5

2002-10-13 Brian Masney <masneyb@gftp.org> * lib/gftp.h (struct gftp_config_vars_tag) - remove shown flag and added ports_shown flag. Added GFTP_PORTS_TEXT, GFTP_PORTS_GTK, and GFTP_PORTS_ALL flags * lib/config_file.c - update to use new fields. * lib/config_file.c, lib/options.h, lib/gftp.h - added new global options: local_sortcol, local_sortasds, remote_sortcol, remote_sortasds * src/gtk/gftp-gtk.c - sort based on parameters above. Also, if a url was given on the command line, don't connect to it until the local side has been setup * src/gtk/options_dialog.c - only show variables that have GFTP_PORT_GTK set * src/text/gftp-text.c - add help screen for set command. Added command clear cache. Sort the filelist based on the configuration options. * configure.in - update to version 2.0.14 * cvsclean - clean up the Makefile.am file better
author masneyb
date Mon, 14 Oct 2002 02:46:14 +0000
parents bc9473ba9a90
children 66c064fd05bc
line wrap: on
line diff
--- a/src/gtk/transfer.c	Tue Oct 08 02:19:46 2002 +0000
+++ b/src/gtk/transfer.c	Mon Oct 14 02:46:14 2002 +0000
@@ -112,7 +112,7 @@
     }
 
   wdata->sorted = 0;
-  sortrows (GTK_CLIST (wdata->listbox), wdata->sortcol, (gpointer) wdata);
+  sortrows (GTK_CLIST (wdata->listbox), *wdata->sortcol, (gpointer) wdata);
   if (IS_NONE_SELECTED (wdata))
     gtk_clist_select_row (GTK_CLIST (wdata->listbox), 0, 0);
   return (1);