From 4c353205ea2d15c3cd314eeeaf60edc04f4c06ad Mon Sep 17 00:00:00 2001 From: William Reynish Date: Sat, 24 Aug 2019 00:45:21 +0200 Subject: UI: Various tooltip corrections and fixes Patch by Yevgeny Makarov (jenkm) Differential Revision: D5514 --- source/blender/editors/curve/editcurve_select.c | 2 +- source/blender/editors/interface/interface_context_menu.c | 3 ++- source/blender/editors/mask/mask_shapekey.c | 2 ++ source/blender/editors/screen/screen_ops.c | 2 +- source/blender/editors/space_sequencer/sequencer_edit.c | 2 ++ 5 files changed, 8 insertions(+), 3 deletions(-) (limited to 'source/blender/editors') diff --git a/source/blender/editors/curve/editcurve_select.c b/source/blender/editors/curve/editcurve_select.c index d3f0ebfda3c..f67ccf1e4bd 100644 --- a/source/blender/editors/curve/editcurve_select.c +++ b/source/blender/editors/curve/editcurve_select.c @@ -1417,7 +1417,7 @@ void CURVE_OT_select_nth(wmOperatorType *ot) { /* identifiers */ ot->name = "Checker Deselect"; - ot->description = "Deselect every other vertex"; + ot->description = "Deselect every Nth point starting from the active one"; ot->idname = "CURVE_OT_select_nth"; /* api callbacks */ diff --git a/source/blender/editors/interface/interface_context_menu.c b/source/blender/editors/interface/interface_context_menu.c index 56d4cab202c..0884a9ea470 100644 --- a/source/blender/editors/interface/interface_context_menu.c +++ b/source/blender/editors/interface/interface_context_menu.c @@ -1222,7 +1222,7 @@ void ui_popup_context_menu_for_panel(bContext *C, ARegion *ar, Panel *pa) sizeof(tmpstr), "%s" UI_SEP_CHAR_S "%s", IFACE_("Pin"), - IFACE_("Shift+Left Mouse")); + IFACE_("Shift Left Mouse")); uiItemR(layout, &ptr, "use_pin", 0, tmpstr, ICON_NONE); /* evil, force shortcut flag */ @@ -1230,6 +1230,7 @@ void ui_popup_context_menu_for_panel(bContext *C, ARegion *ar, Panel *pa) uiBlock *block = uiLayoutGetBlock(layout); uiBut *but = block->buttons.last; but->flag |= UI_BUT_HAS_SEP_CHAR; + but->drawflag |= UI_BUT_HAS_SHORTCUT; } } UI_popup_menu_end(C, pup); diff --git a/source/blender/editors/mask/mask_shapekey.c b/source/blender/editors/mask/mask_shapekey.c index edc22943124..1abe805192d 100644 --- a/source/blender/editors/mask/mask_shapekey.c +++ b/source/blender/editors/mask/mask_shapekey.c @@ -81,6 +81,7 @@ void MASK_OT_shape_key_insert(wmOperatorType *ot) { /* identifiers */ ot->name = "Insert Shape Key"; + ot->description = "Insert mask shape keyframe for active mask layer at the current frame"; ot->idname = "MASK_OT_shape_key_insert"; /* api callbacks */ @@ -129,6 +130,7 @@ void MASK_OT_shape_key_clear(wmOperatorType *ot) { /* identifiers */ ot->name = "Clear Shape Key"; + ot->description = "Remove mask shape keyframe for active mask layer at the current frame"; ot->idname = "MASK_OT_shape_key_clear"; /* api callbacks */ diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c index 625e172017b..096870a090a 100644 --- a/source/blender/editors/screen/screen_ops.c +++ b/source/blender/editors/screen/screen_ops.c @@ -3752,7 +3752,7 @@ static void SCREEN_OT_redo_last(wmOperatorType *ot) { /* identifiers */ ot->name = "Redo Last"; - ot->description = "Display menu for last action performed"; + ot->description = "Display parameters for last action performed"; ot->idname = "SCREEN_OT_redo_last"; /* api callbacks */ diff --git a/source/blender/editors/space_sequencer/sequencer_edit.c b/source/blender/editors/space_sequencer/sequencer_edit.c index ed0303564c6..22b73c32bfe 100644 --- a/source/blender/editors/space_sequencer/sequencer_edit.c +++ b/source/blender/editors/space_sequencer/sequencer_edit.c @@ -3405,6 +3405,7 @@ void SEQUENCER_OT_copy(wmOperatorType *ot) /* identifiers */ ot->name = "Copy"; ot->idname = "SEQUENCER_OT_copy"; + ot->description = "Copy selected strips to clipboard"; /* api callbacks */ ot->exec = sequencer_copy_exec; @@ -3470,6 +3471,7 @@ void SEQUENCER_OT_paste(wmOperatorType *ot) /* identifiers */ ot->name = "Paste"; ot->idname = "SEQUENCER_OT_paste"; + ot->description = "Paste strips from clipboard"; /* api callbacks */ ot->exec = sequencer_paste_exec; -- cgit v1.2.3