Mercurial > gftp.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
36:bc9473ba9a90 | 37:5a178bd04ca5 |
---|---|
110 disconnect (wdata); | 110 disconnect (wdata); |
111 return (0); | 111 return (0); |
112 } | 112 } |
113 | 113 |
114 wdata->sorted = 0; | 114 wdata->sorted = 0; |
115 sortrows (GTK_CLIST (wdata->listbox), wdata->sortcol, (gpointer) wdata); | 115 sortrows (GTK_CLIST (wdata->listbox), *wdata->sortcol, (gpointer) wdata); |
116 if (IS_NONE_SELECTED (wdata)) | 116 if (IS_NONE_SELECTED (wdata)) |
117 gtk_clist_select_row (GTK_CLIST (wdata->listbox), 0, 0); | 117 gtk_clist_select_row (GTK_CLIST (wdata->listbox), 0, 0); |
118 return (1); | 118 return (1); |
119 } | 119 } |
120 | 120 |