diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2022-05-08 13:24:51 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-08 13:24:51 +1000 |
commit | 8247089e53e851a76147205d72766a264bb00a97 (patch) | |
tree | 3aaf91fcecb99742af1aaec54fa6dbf8419bcc64 /pkg/gui/controllers | |
parent | 549409a6f35d86aadc4ee6dd976890dd5e5fc9f1 (diff) | |
parent | 22d98249fe2256d7c11b77ad926ba8bb8b67be04 (diff) |
Merge pull request #1925 from jesseduffield/details-view
Diffstat (limited to 'pkg/gui/controllers')
-rw-r--r-- | pkg/gui/controllers/undo_controller.go | 2 | ||||
-rw-r--r-- | pkg/gui/controllers/workspace_reset_controller.go | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/pkg/gui/controllers/undo_controller.go b/pkg/gui/controllers/undo_controller.go index 5e4c2043b..5e0bf5730 100644 --- a/pkg/gui/controllers/undo_controller.go +++ b/pkg/gui/controllers/undo_controller.go @@ -55,11 +55,13 @@ func (self *UndoController) GetKeybindings(opts types.KeybindingsOpts) []*types. Key: opts.GetKey(opts.Config.Universal.Undo), Handler: self.reflogUndo, Description: self.c.Tr.LcUndoReflog, + Tooltip: self.c.Tr.UndoTooltip, }, { Key: opts.GetKey(opts.Config.Universal.Redo), Handler: self.reflogRedo, Description: self.c.Tr.LcRedoReflog, + Tooltip: self.c.Tr.RedoTooltip, }, } diff --git a/pkg/gui/controllers/workspace_reset_controller.go b/pkg/gui/controllers/workspace_reset_controller.go index 32dd959df..bd5f47195 100644 --- a/pkg/gui/controllers/workspace_reset_controller.go +++ b/pkg/gui/controllers/workspace_reset_controller.go @@ -31,7 +31,8 @@ func (self *FilesController) createResetMenu() error { return self.c.Refresh(types.RefreshOptions{Mode: types.ASYNC, Scope: []types.RefreshableView{types.FILES}}) }, - Key: 'D', + Key: 'D', + Tooltip: self.c.Tr.NukeDescription, }, { DisplayStrings: []string{ |