Fix #29946: Recover Auto Save defaults to "Short List" View -- Cannot determine dates
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 24 Jan 2012 18:18:51 +0000 (18:18 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 24 Jan 2012 18:18:51 +0000 (18:18 +0000)
commit44850d69469342b9b11105dc87bdb47ab4234cff
tree7568403dee6a523a30db61e27db284e24ab87395
parent8f7762c356b8a1d39fd8222b72d5c35ef66d8061
Fix #29946: Recover Auto Save defaults to "Short List" View -- Cannot determine dates

Added option display_type to WM_operator_properties_filesel which defines which file
display type (short/list/icons/default) should be used for file browser.

All current operators are using FILE_DEFAULTDISPLAY display type which means display
type will still be calculated based on type of opening file and user preferences
settings. Recover Auto Save operator is now using long display type so file date can
easily be checked now.

Reviewed by Andrea, thanks!
18 files changed:
source/blender/editors/curve/editfont.c
source/blender/editors/object/object_modifier.c
source/blender/editors/render/render_shading.c
source/blender/editors/screen/screendump.c
source/blender/editors/sound/sound_ops.c
source/blender/editors/space_buttons/buttons_ops.c
source/blender/editors/space_clip/clip_ops.c
source/blender/editors/space_file/filesel.c
source/blender/editors/space_graph/graph_edit.c
source/blender/editors/space_image/image_ops.c
source/blender/editors/space_info/info_ops.c
source/blender/editors/space_node/node_edit.c
source/blender/editors/space_sequencer/sequencer_add.c
source/blender/editors/space_sequencer/sequencer_edit.c
source/blender/editors/space_text/text_ops.c
source/blender/makesdna/DNA_space_types.h
source/blender/windowmanager/WM_api.h
source/blender/windowmanager/intern/wm_operators.c