274e65d Add some timeouts to file transfer dialog

1 file Authored by jjongsma 7 years ago, Committed by fidencio 7 years ago,
    Add some timeouts to file transfer dialog
    
    In order to avoid the situation where a dialog flashes onto the screen
    and then is immediately hidden, I've added a couple timeouts to the
    dialog.
    
    The first is a 250ms timeout before showing the dialog. This avoids
    showing the dialog at all for very small, quick transfers.
    
    There is also a 500ms timeout before hiding a finished task. This
    ensures that even transfers that only take e.g. 251ms to transfer will
    get shown to the user for at least 500ms rather than being hidden 1ms
    after showing the dialog.
    
    Related: rhbz#1332180, rhbz#1324521
    Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
    Acked-by: Fabiano FidĂȘncio <fidencio@redhat.com>
    Acked-by: Victor Toso <victortoso@redhat.com>