comparison lib/options.h @ 182:33b394ebba68

2003-6-15 Brian Masney <masneyb@gftp.org> * lib/cache.c lib/gftp.h - added gftp_generate_cache_description(). * lib/cache.c lib/gftp.h src/text/gftp-text.c src/gtk/delete-dialog.c src/gtk/menu-items.c src/gtk/misc-gtk.c src/gtk/mkdir-dialog.c - Added description parameter to gftp_delete_cache_entry(). * lib/protocols.c lib/gftp.h - added gftp_fd_open(). It will call open() and then set the socket option close on exec * lib/cache.c lib/local.c lib/misc.c - use gftp_fd_open() instead of open() * lib/rfc959.c lib/protocols.c - on newly created sockets, make sure the close on exec socket option is set * lib/options.h src/text/gftp-text.c src/gtk/transfer.c - added preserve_permissions option * lib/protocols.c (gftp_parse_url) - allow an @ to be in the username * src/text/gftp-text.c - after transfering a file, honor preserve_permissions if it is set * src/gtk/delete-dialog.c - improvments to clearing the expired cache entries
author masneyb
date Sun, 15 Jun 2003 21:28:02 +0000
parents d40f9db52cdf
children 65eb40fb4f03
comparison
equal deleted inserted replaced
181:0153a867819c 182:33b394ebba68
54 N_("Do only one transfer at a time?"), GFTP_PORT_GTK, NULL}, 54 N_("Do only one transfer at a time?"), GFTP_PORT_GTK, NULL},
55 {"overwrite_default", N_("Overwrite by Default"), 55 {"overwrite_default", N_("Overwrite by Default"),
56 gftp_option_type_checkbox, GINT_TO_POINTER(0), NULL, 0, 56 gftp_option_type_checkbox, GINT_TO_POINTER(0), NULL, 0,
57 N_("Overwrite files by default or set to resume file transfers"), 57 N_("Overwrite files by default or set to resume file transfers"),
58 GFTP_PORT_GTK, NULL}, 58 GFTP_PORT_GTK, NULL},
59 {"preserve_permissions", N_("Preserve file permissions"),
60 gftp_option_type_checkbox, GINT_TO_POINTER(1), NULL, 0,
61 N_("Preserve file permissions of transfered files"), GFTP_PORT_ALL,
62 NULL},
59 {"refresh_files", N_("Refresh after each file transfer"), 63 {"refresh_files", N_("Refresh after each file transfer"),
60 gftp_option_type_checkbox, GINT_TO_POINTER(0), NULL, 0, 64 gftp_option_type_checkbox, GINT_TO_POINTER(0), NULL, 0,
61 N_("Refresh the listbox after each file is transfered"), GFTP_PORT_GTK, 65 N_("Refresh the listbox after each file is transfered"), GFTP_PORT_GTK,
62 NULL}, 66 NULL},
63 {"sort_dirs_first", N_("Sort directories first"), 67 {"sort_dirs_first", N_("Sort directories first"),