diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-10-08 06:21:41 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-10-08 06:21:41 +0300 |
commit | f9a266a22629afee11a5b9abd04a28dcc1cdc277 (patch) | |
tree | cfcb5acdc521608f06f5149a17ca8b71d9e928b4 /source/blender/makesrna/intern/rna_workspace_api.c | |
parent | a856c5eccffba817a1e9ac499e0156fc6d4eb3c3 (diff) |
UI: support passing a function to WorkSpace.status_text_set()
This allows Python operators to draw icons and other UI elements
into the status bar.
Diffstat (limited to 'source/blender/makesrna/intern/rna_workspace_api.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_workspace_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_workspace_api.c b/source/blender/makesrna/intern/rna_workspace_api.c index b8c6a25ace8..f22c86b3ff2 100644 --- a/source/blender/makesrna/intern/rna_workspace_api.c +++ b/source/blender/makesrna/intern/rna_workspace_api.c @@ -110,7 +110,7 @@ void RNA_api_workspace(StructRNA *srna) FunctionRNA *func; PropertyRNA *parm; - func = RNA_def_function(srna, "status_text_set", "ED_workspace_status_text"); + func = RNA_def_function(srna, "status_text_set_internal", "ED_workspace_status_text"); RNA_def_function_flag(func, FUNC_NO_SELF | FUNC_USE_CONTEXT); RNA_def_function_ui_description( func, "Set the status bar text, typically key shortcuts for modal operators"); |