Retrying download if it fails (NB#148697)
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Thu, 21 Jan 2010 11:23:21 +0000 (12:23 +0100)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Tue, 16 Feb 2010 23:18:55 +0000 (00:18 +0100)
commitb5abc374876d8b90ee7838fea77f30b424e4c6ea
tree6028704d1cb4be06a86847fa12739bdf83d08de2
parent195975e7071a1d3446fd768acf0d416a918c0677
Retrying download if it fails (NB#148697)

* src/operations.cc (result_code_to_message): Show the new label for retrying.
  (ip_download_cur_retry_confirm): Enable the ask_yes_no dialog
  (ip_download_cur_retry): New function.
  (ip_download_cur_retry_confirm_response): fix the function in order to
  re-ensure the network connection before downloading again.
  (ip_download_cur_reply): Ask to retry if the download was broke
src/operations.cc