From 53b221960acaa63cc50bd8095d0ea11f9de539e1 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Sun, 6 May 2012 15:03:31 +0000 Subject: =?UTF-8?q?Last=20part=20of=20fix=20for=20[#31157]:=20Some=20(actu?= =?UTF-8?q?ally,=20172)=20operators=20have=20no=20tooltip.=20Only=20remain?= =?UTF-8?q?ing=20undocumented=20one=20is=20IMAGE=5FOT=5Frecord=5Fcomposite?= =?UTF-8?q?=20(not=20sure=20what=20it=20actually=20does,=20nor=20even=20wh?= =?UTF-8?q?ether=20it=E2=80=99s=20actually=20working=20or=20not...).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Note that I didn’t bother with operators flagged as OPTYPE_INTERNAL! --- source/blender/windowmanager/intern/wm_operators.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source/blender/windowmanager') diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c index 36bacd34dfe..1a9a5ff2cb6 100644 --- a/source/blender/windowmanager/intern/wm_operators.c +++ b/source/blender/windowmanager/intern/wm_operators.c @@ -1454,7 +1454,7 @@ static uiBlock *wm_block_search_menu(bContext *C, ARegion *ar, void *UNUSED(arg_ static int wm_search_menu_exec(bContext *UNUSED(C), wmOperator *UNUSED(op)) { - return OPERATOR_FINISHED; + return OPERATOR_FINISHED; } static int wm_search_menu_invoke(bContext *C, wmOperator *op, wmEvent *UNUSED(event)) @@ -1488,6 +1488,7 @@ static void WM_OT_search_menu(wmOperatorType *ot) { ot->name = "Search Menu"; ot->idname = "WM_OT_search_menu"; + ot->description = "Pop-up a search menu over all available operators in current context"; ot->invoke = wm_search_menu_invoke; ot->exec = wm_search_menu_exec; @@ -3431,6 +3432,7 @@ static void WM_OT_radial_control(wmOperatorType *ot) { ot->name = "Radial Control"; ot->idname = "WM_OT_radial_control"; + ot->description = "Set some size property (like e.g. brush size) with mouse wheel"; ot->invoke = radial_control_invoke; ot->modal = radial_control_modal; -- cgit v1.2.3