[Bf-blender-cvs] [d040493cd48] master: UI: Rename operator to open Preferences window

Julian Eisel noreply at git.blender.org
Tue Oct 26 21:58:08 CEST 2021


Commit: d040493cd48d3afce2d4b380c7ed5e518c3c5e6b
Author: Julian Eisel
Date:   Tue Oct 26 21:33:48 2021 +0200
Branches: master
https://developer.blender.org/rBd040493cd48d3afce2d4b380c7ed5e518c3c5e6b

UI: Rename operator to open Preferences window

Renames the operator from "Show Preferences" to "Open Preferences...".  "Open"
is more clear than "Show" (since they could be shown in-place). "..." is
usually used in Blender to indicate that a new Window or popup will be opened.

Note that vanilla Blender doesn't actually show this name anywhere, so this
change shouldn't be visible. That may change, see D12894.

===================================================================

M	source/blender/editors/screen/screen_ops.c

===================================================================

diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c
index fc1b0ed173e..e516c3ba2c3 100644
--- a/source/blender/editors/screen/screen_ops.c
+++ b/source/blender/editors/screen/screen_ops.c
@@ -5106,7 +5106,7 @@ static int userpref_show_exec(bContext *C, wmOperator *op)
 static void SCREEN_OT_userpref_show(struct wmOperatorType *ot)
 {
   /* identifiers */
-  ot->name = "Show Preferences";
+  ot->name = "Open Preferences...";
   ot->description = "Edit user preferences and system settings";
   ot->idname = "SCREEN_OT_userpref_show";



More information about the Bf-blender-cvs mailing list