Mercurial > gftp.yaz
comparison src/uicommon/gftpui.h @ 514:e55d8b35d809
2004-7-25 Brian Masney <masneyb@gftp.org>
* src/gtk/bookmarks.c src/gtk/gftp-gtk.c src/gtk/gtkui.c
src/gtk/transfer.c src/text/textui.c src/uicommon/gftpui.c
src/uicommon/gftpui.h - added clear_cache argument to gftpui_refresh()
Don't clear the cache when changing directories
* src/uicommon/gftpuicallbacks.c (_gftpui_common_rm_list) - return
0 on success
* src/gtk/delete_dialog.c - refresh the directory listing after the
operation was successful
author | masneyb |
---|---|
date | Sun, 25 Jul 2004 15:48:25 +0000 |
parents | c3ff4479a92d |
children | 739afd9df73c |
comparison
equal
deleted
inserted
replaced
513:cb882efd4d6d | 514:e55d8b35d809 |
---|---|
37 int retries; | 37 int retries; |
38 int (*run_function) (gftpui_callback_data * cdata); | 38 int (*run_function) (gftpui_callback_data * cdata); |
39 int (*connect_function) (gftpui_callback_data * cdata); | 39 int (*connect_function) (gftpui_callback_data * cdata); |
40 void (*disconnect_function) (gftpui_callback_data * cdata); | 40 void (*disconnect_function) (gftpui_callback_data * cdata); |
41 unsigned int dont_check_connection : 1, | 41 unsigned int dont_check_connection : 1, |
42 dont_refresh : 1; | 42 dont_refresh : 1, |
43 dont_clear_cache : 1; | |
43 }; | 44 }; |
44 | 45 |
45 | 46 |
46 typedef enum _gftpui_common_request_type | 47 typedef enum _gftpui_common_request_type |
47 { | 48 { |
157 char **start_color, | 158 char **start_color, |
158 char ** end_color ); | 159 char ** end_color ); |
159 | 160 |
160 int gftpui_check_reconnect ( gftpui_callback_data * cdata ); | 161 int gftpui_check_reconnect ( gftpui_callback_data * cdata ); |
161 | 162 |
162 void gftpui_refresh ( void *uidata ); | 163 void gftpui_refresh ( void *uidata, |
164 int clear_cache ); | |
163 | 165 |
164 void *gftpui_generic_thread ( void *(*run_function)(void *data), | 166 void *gftpui_generic_thread ( void *(*run_function)(void *data), |
165 void *data); | 167 void *data); |
166 | 168 |
167 void gftpui_prompt_username ( void *uidata, | 169 void gftpui_prompt_username ( void *uidata, |