Mercurial > gftp.yaz
diff src/text/textui.c @ 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 | 39e9945288ea |
| children | 739afd9df73c |
line wrap: on
line diff
--- a/src/text/textui.c Sun Jul 25 15:24:37 2004 +0000 +++ b/src/text/textui.c Sun Jul 25 15:48:25 2004 +0000 @@ -40,12 +40,14 @@ void -gftpui_refresh (void *uidata) +gftpui_refresh (void *uidata, int clear_cache) { gftp_request * request; request = uidata; /* Note: uidata is set to the request in gftp_text.c */ - gftp_delete_cache_entry (request, NULL, 0); + + if (clear_cache) + gftp_delete_cache_entry (request, NULL, 0); }
