comparison src/gtk/transfer.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 c3ff4479a92d
children 648bf2825ea9
comparison
equal deleted inserted replaced
513:cb882efd4d6d 514:e55d8b35d809
440 gftp_lookup_request_option (tdata->fromreq, "refresh_files", &refresh_files); 440 gftp_lookup_request_option (tdata->fromreq, "refresh_files", &refresh_files);
441 441
442 if (refresh_files && tdata->curfle && tdata->curfle->next && 442 if (refresh_files && tdata->curfle && tdata->curfle->next &&
443 compare_request (tdata->toreq, 443 compare_request (tdata->toreq,
444 ((gftp_window_data *) tdata->towdata)->request, 1)) 444 ((gftp_window_data *) tdata->towdata)->request, 1))
445 gftpui_refresh (tdata->towdata); 445 gftpui_refresh (tdata->towdata, 1);
446 } 446 }
447 447
448 448
449 static void 449 static void
450 get_trans_password (gftp_request * request, gftp_dialog_data * ddata) 450 get_trans_password (gftp_request * request, gftp_dialog_data * ddata)
592 else 592 else
593 gftp_disconnect (tdata->toreq); 593 gftp_disconnect (tdata->toreq);
594 594
595 if (tdata->towdata != NULL && compare_request (tdata->toreq, 595 if (tdata->towdata != NULL && compare_request (tdata->toreq,
596 ((gftp_window_data *) tdata->towdata)->request, 1)) 596 ((gftp_window_data *) tdata->towdata)->request, 1))
597 gftpui_refresh (tdata->towdata); 597 gftpui_refresh (tdata->towdata, 1);
598 598
599 num_transfers_in_progress--; 599 num_transfers_in_progress--;
600 } 600 }
601 601
602 if (!tdata->show && tdata->started) 602 if (!tdata->show && tdata->started)