Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/interface/interface_regions.c
| Context not available. | |||||
| data->totline++; | data->totline++; | ||||
| } | } | ||||
| /* "More in Online Manual" line */ | |||||
| if ((but->rnapoin.data && but->rnaprop) || but->optype) { | |||||
| IDProperty *prop = (but->opptr) ? but->opptr->data : NULL; | |||||
| char keybuf[128]; | |||||
| /* get the doc_view_manual_button shortcut */ | |||||
| WM_key_event_operator_string(C, "WM_OT_doc_view_manual_active_but", WM_OP_EXEC_DEFAULT, | |||||
| prop, false, keybuf, sizeof(keybuf)); | |||||
| BLI_snprintf(data->lines[data->totline], sizeof(data->lines[0]), "More in Online Manual - %s", keybuf); | |||||
| data->format[data->totline].color_id = UI_TIP_LC_NORMAL; | |||||
| data->totline++; | |||||
| } | |||||
| /* Op shortcut */ | /* Op shortcut */ | ||||
| if (op_keymap.strinfo) { | if (op_keymap.strinfo) { | ||||
| BLI_snprintf(data->lines[data->totline], sizeof(data->lines[0]), TIP_("Shortcut: %s"), op_keymap.strinfo); | BLI_snprintf(data->lines[data->totline], sizeof(data->lines[0]), TIP_("Shortcut: %s"), op_keymap.strinfo); | ||||
| Context not available. | |||||