Added indication of total BPS and ETA for file operations.
commit804ca8e7b0d23937ca578659b1840f88e60fe931
authorSlava Zanko <slavazanko@gmail.com>
Fri, 19 Feb 2010 13:05:56 +0000 (19 15:05 +0200)
committerSlava Zanko <slavazanko@gmail.com>
Wed, 24 Feb 2010 08:37:43 +0000 (24 10:37 +0200)
treef848a769bc669c3ff0b70453bfb3df04f60f0741
parentc40c5014b9e394c3134ba246efe45398c4015b4a
Added indication of total BPS and ETA for file operations.

 * Optimized functions calls (changed return type of all file_progress_show*() functions)
 * Reworked for use global structure FileOpTotalContext
 * Moved declarations of file_progress_show*() functions from fileopctx.h to filegui.h
 * Code for calculate progressbar's variables was moved into function copy_file_file_display_progress()
 * Progressbar for little files now shows always 100% (for visible effect)
 * Added i18n string '< 1 sec'
 * Rework of progress copy dialog

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
lib/util.c
src/file.c
src/file.h
src/filegui.c
src/filegui.h
src/fileopctx.c
src/fileopctx.h
src/tree.c