Mercurial > gftp.yaz
comparison lib/options.h @ 125:b875de05c22d
2003-4-8 Brian Masney <masneyb@gftp.org>
* src/text/gftp-text.c lib/misc.c - moved r_gethostbyname() and
r_getservbyname() to lib/misc.c. Now uses GMutex functions
* lib/config_file.c lib/gftp.h lib/options.h - added config
variable type textcombo. default_protocol uses this
* lib/config_file.c (gftp_read_config_file) - when reading in the
list of supported protocols, add the protocol names to the list
associated with default_protocol. Also, don't try to have
default_protocol fall back to FTP. The code that uses this will fall
back properly
* lib/gftp.h (struct gftp_transfer) - renamed node to user_data
* lib/misc.c lib/gftp.h - moved parse_attribs() from
src/gtk/transfer.c to misc.c. Renamed to gftp_parse_attribs()
* lib/protocols.c lib/gftp.h - moved get_status() from
src/gtk/transfer.c to protocols.c. Renamed to
gftp_get_transfer_status(). Uses GMutex functions
author | masneyb |
---|---|
date | Tue, 08 Apr 2003 22:28:17 +0000 |
parents | 76e2b58a9440 |
children | 1e65871fdfa1 |
comparison
equal
deleted
inserted
replaced
124:65048c959029 | 125:b875de05c22d |
---|---|
96 N_("The number of seconds to wait between retries"), GFTP_PORT_ALL, NULL}, | 96 N_("The number of seconds to wait between retries"), GFTP_PORT_ALL, NULL}, |
97 {"maxkbs", N_("Max KB/S:"), | 97 {"maxkbs", N_("Max KB/S:"), |
98 gftp_option_type_float, &gftp_maxkbs, NULL, 0, | 98 gftp_option_type_float, &gftp_maxkbs, NULL, 0, |
99 N_("The maximum KB/s a file transfer can get. (Set to 0 to disable)"), | 99 N_("The maximum KB/s a file transfer can get. (Set to 0 to disable)"), |
100 GFTP_PORT_ALL, NULL}, | 100 GFTP_PORT_ALL, NULL}, |
101 /* FIXME | 101 |
102 {"", N_("Default Protocol"), (void *) 0x1, CONFIG_COMBO, "DP", NULL, GFTP_PORT_GTK}, | 102 {"default_protocol", N_("Default Protocol"), |
103 {"default_protocol", N_("Default Protocol"), &default_protocol, | 103 gftp_option_type_textcombo, "FTP", NULL, 0, |
104 CONFIG_CHARTEXT, N_("This specifies the default protocol to use"), NULL, 0}, | 104 N_("This specifies the default protocol to use"), GFTP_PORT_ALL, NULL}, |
105 | 105 |
106 */ | |
107 {"list_dblclk_action", "", | 106 {"list_dblclk_action", "", |
108 gftp_option_type_int, GINT_TO_POINTER(0), NULL, 0, | 107 gftp_option_type_int, GINT_TO_POINTER(0), NULL, 0, |
109 N_("This defines what will happen when you double click a file in the file listboxes. 0=View file 1=Edit file 2=Transfer file"), 0, NULL}, | 108 N_("This defines what will happen when you double click a file in the file listboxes. 0=View file 1=Edit file 2=Transfer file"), 0, NULL}, |
110 {"listbox_local_width", "", | 109 {"listbox_local_width", "", |
111 gftp_option_type_int, GINT_TO_POINTER(302), NULL, 0, | 110 gftp_option_type_int, GINT_TO_POINTER(302), NULL, 0, |