82b27ead4d
Formerly, each widget loaded its history self in its constructor. Thus, history file was read as many times as many widgets with history are in dialog. Now all widget histories are read from ${XDG_CACHE_HOME}/mc/history file at one time after dialog initialization. The ev_history_load_save_t event is apllied to load histories. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>