Mercurial > gftp.yaz
diff src/uicommon/gftpui.c @ 879:a41a3590d696
2007-2-14 Brian Masney <masneyb@gftp.org>
* lib/gftp.h src/gtk/gtkui.c src/uicommon/gftpui.c - added refreshing
field to the gftp_request structure. If this is set in
gftpui_common_cmd_open(), then the refresh command is not ran after
a connection is made to the server. This field is currently only
enabled when running called from the refresh function in the GTK+
port. It fixes an issue where the refresh command was being ran
twice. (closes #171732)
author | masneyb |
---|---|
date | Thu, 15 Feb 2007 01:06:49 +0000 |
parents | 2d4e6fca8e7c |
children | 1808cebed602 |
line wrap: on
line diff
--- a/src/uicommon/gftpui.c Sun Feb 11 22:36:54 2007 +0000 +++ b/src/uicommon/gftpui.c Thu Feb 15 01:06:49 2007 +0000 @@ -650,6 +650,9 @@ cdata->retries = retries; cdata->dont_check_connection = 1; + if (request->refreshing) + cdata->dont_refresh = 1; + gftpui_show_busy (TRUE); gftpui_common_run_callback_function (cdata); gftpui_show_busy (FALSE);