diff options
author | Ton Roosendaal <ton@blender.org> | 2009-02-14 17:25:48 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2009-02-14 17:25:48 +0300 |
commit | 05cdff9bf1687a6998e8bd13b21003e97e98c81d (patch) | |
tree | ee64b1bb5bd24119bd405def6a3e114c73db2aea /source/blender/editors/space_file/file_intern.h | |
parent | 3f425dfc715d846fe9127eaed1a398c747b41f01 (diff) |
2.5
FileWindow:
It appeared all load/save went via 1 call, so the 'OK save over' menu
popped up on loading files too.
Added check in the function for saving... bit weak, could become an
argument for ED_fileselect.
Also renamed file operators to conform to others.
Diffstat (limited to 'source/blender/editors/space_file/file_intern.h')
-rw-r--r-- | source/blender/editors/space_file/file_intern.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/source/blender/editors/space_file/file_intern.h b/source/blender/editors/space_file/file_intern.h index d4cb80c1b39..e47387a2d22 100644 --- a/source/blender/editors/space_file/file_intern.h +++ b/source/blender/editors/space_file/file_intern.h @@ -49,17 +49,17 @@ void file_draw_fsmenu(const bContext *C, ARegion *ar); struct wmOperatorType; struct wmOperator; struct wmEvent; -void ED_FILE_OT_highlight(struct wmOperatorType *ot); -void ED_FILE_OT_select(struct wmOperatorType *ot); -void ED_FILE_OT_select_all(struct wmOperatorType *ot); -void ED_FILE_OT_border_select(struct wmOperatorType *ot); -void ED_FILE_OT_select_bookmark(struct wmOperatorType *ot); -void ED_FILE_OT_loadimages(struct wmOperatorType *ot); -void ED_FILE_OT_load(struct wmOperatorType *ot); -void ED_FILE_OT_cancel(struct wmOperatorType *ot); -void ED_FILE_OT_parent(struct wmOperatorType *ot); +void FILE_OT_highlight(struct wmOperatorType *ot); +void FILE_OT_select(struct wmOperatorType *ot); +void FILE_OT_select_all(struct wmOperatorType *ot); +void FILE_OT_border_select(struct wmOperatorType *ot); +void FILE_OT_select_bookmark(struct wmOperatorType *ot); +void FILE_OT_loadimages(struct wmOperatorType *ot); +void FILE_OT_exec(struct wmOperatorType *ot); +void FILE_OT_cancel(struct wmOperatorType *ot); +void FILE_OT_parent(struct wmOperatorType *ot); -int file_load_exec(bContext *C, struct wmOperator *unused); +int file_exec(bContext *C, struct wmOperator *unused); int file_cancel_exec(bContext *C, struct wmOperator *unused); int file_parent_exec(bContext *C, struct wmOperator *unused); int file_hilight_set(SpaceFile *sfile, ARegion *ar, int mx, int my); |