Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/editors/space_userpref/userpref_ops.c')
-rw-r--r--source/blender/editors/space_userpref/userpref_ops.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/source/blender/editors/space_userpref/userpref_ops.c b/source/blender/editors/space_userpref/userpref_ops.c
index f6aaf01747c..a67e6c27acb 100644
--- a/source/blender/editors/space_userpref/userpref_ops.c
+++ b/source/blender/editors/space_userpref/userpref_ops.c
@@ -45,30 +45,30 @@
static int reset_default_theme_exec(bContext *C, wmOperator *UNUSED(op))
{
- UI_theme_init_default();
- UI_style_init_default();
- WM_event_add_notifier(C, NC_WINDOW, NULL);
+ UI_theme_init_default();
+ UI_style_init_default();
+ WM_event_add_notifier(C, NC_WINDOW, NULL);
- return OPERATOR_FINISHED;
+ return OPERATOR_FINISHED;
}
static void PREFERENCES_OT_reset_default_theme(wmOperatorType *ot)
{
- /* identifiers */
- ot->name = "Reset to Default Theme";
- ot->idname = "PREFERENCES_OT_reset_default_theme";
- ot->description = "Reset to the default theme colors";
+ /* identifiers */
+ ot->name = "Reset to Default Theme";
+ ot->idname = "PREFERENCES_OT_reset_default_theme";
+ ot->description = "Reset to the default theme colors";
- /* callbacks */
- ot->exec = reset_default_theme_exec;
+ /* callbacks */
+ ot->exec = reset_default_theme_exec;
- /* flags */
- ot->flag = OPTYPE_REGISTER;
+ /* flags */
+ ot->flag = OPTYPE_REGISTER;
}
/** \} */
void ED_operatortypes_userpref(void)
{
- WM_operatortype_append(PREFERENCES_OT_reset_default_theme);
+ WM_operatortype_append(PREFERENCES_OT_reset_default_theme);
}