diff options
author | Dawid Dziurla <dawidd0811@gmail.com> | 2018-09-04 15:40:29 +0200 |
---|---|---|
committer | Dawid Dziurla <dawidd0811@gmail.com> | 2018-09-04 15:40:29 +0200 |
commit | 97ad4a1643f1ef83b151d78314b9c6bcb50adbfe (patch) | |
tree | 72742ed38486d1e321ad119efb12e1eac332b0ce /pkg | |
parent | cbafadd48e7d4ccbdb8b50dc32fa4f570c4b6434 (diff) |
delete options
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/gui/branches_panel.go | 7 | ||||
-rw-r--r-- | pkg/gui/commits_panel.go | 4 | ||||
-rw-r--r-- | pkg/gui/files_panel.go | 12 | ||||
-rw-r--r-- | pkg/gui/stash_panel.go | 3 | ||||
-rw-r--r-- | pkg/gui/status_panel.go | 3 |
5 files changed, 1 insertions, 28 deletions
diff --git a/pkg/gui/branches_panel.go b/pkg/gui/branches_panel.go index b56f189ce..74ee14b06 100644 --- a/pkg/gui/branches_panel.go +++ b/pkg/gui/branches_panel.go @@ -116,13 +116,6 @@ func (gui *Gui) getSelectedBranch(v *gocui.View) commands.Branch { func (gui *Gui) renderBranchesOptions(g *gocui.Gui) error { return gui.renderOptionsMap(g, map[string]string{ - "space": gui.Tr.SLocalize("checkout"), - "f": gui.Tr.SLocalize("forceCheckout"), - "m": gui.Tr.SLocalize("merge"), - "c": gui.Tr.SLocalize("checkoutByName"), - "n": gui.Tr.SLocalize("newBranch"), - "d": gui.Tr.SLocalize("deleteBranch"), - "D": gui.Tr.SLocalize("forceDeleteBranch"), "← → ↑ ↓": gui.Tr.SLocalize("navigate"), "?": gui.Tr.SLocalize("help"), }) diff --git a/pkg/gui/commits_panel.go b/pkg/gui/commits_panel.go index 5074968b3..9e8eb681a 100644 --- a/pkg/gui/commits_panel.go +++ b/pkg/gui/commits_panel.go @@ -60,10 +60,6 @@ func (gui *Gui) handleResetToCommit(g *gocui.Gui, commitView *gocui.View) error func (gui *Gui) renderCommitsOptions(g *gocui.Gui) error { return gui.renderOptionsMap(g, map[string]string{ - "s": gui.Tr.SLocalize("squashDown"), - "r": gui.Tr.SLocalize("rename"), - "g": gui.Tr.SLocalize("resetToThisCommit"), - "f": gui.Tr.SLocalize("fixupCommit"), "← → ↑ ↓": gui.Tr.SLocalize("navigate"), "?": gui.Tr.SLocalize("help"), }) diff --git a/pkg/gui/files_panel.go b/pkg/gui/files_panel.go index 90f2b7e84..43a88c6d2 100644 --- a/pkg/gui/files_panel.go +++ b/pkg/gui/files_panel.go @@ -173,18 +173,8 @@ func (gui *Gui) handleIgnoreFile(g *gocui.Gui, v *gocui.View) error { func (gui *Gui) renderfilesOptions(g *gocui.Gui, file *commands.File) error { optionsMap := map[string]string{ - "← → ↑ ↓": gui.Tr.SLocalize("navigate"), - "S": gui.Tr.SLocalize("stashFiles"), - "c": gui.Tr.SLocalize("CommitChanges"), - "o": gui.Tr.SLocalize("open"), - "i": gui.Tr.SLocalize("ignore"), - "d": gui.Tr.SLocalize("delete"), - "space": gui.Tr.SLocalize("toggleStaged"), - "R": gui.Tr.SLocalize("refresh"), - "t": gui.Tr.SLocalize("addPatch"), - "e": gui.Tr.SLocalize("edit"), - "a": gui.Tr.SLocalize("toggleStagedAll"), "PgUp/PgDn": gui.Tr.SLocalize("scroll"), + "← → ↑ ↓": gui.Tr.SLocalize("navigate"), "?": gui.Tr.SLocalize("help"), } if gui.State.HasMergeConflicts { diff --git a/pkg/gui/stash_panel.go b/pkg/gui/stash_panel.go index dd7ecfeb9..33f42e5f6 100644 --- a/pkg/gui/stash_panel.go +++ b/pkg/gui/stash_panel.go @@ -34,9 +34,6 @@ func (gui *Gui) getSelectedStashEntry(v *gocui.View) *commands.StashEntry { func (gui *Gui) renderStashOptions(g *gocui.Gui) error { return gui.renderOptionsMap(g, map[string]string{ - "space": gui.Tr.SLocalize("apply"), - "g": gui.Tr.SLocalize("pop"), - "d": gui.Tr.SLocalize("drop"), "← → ↑ ↓": gui.Tr.SLocalize("navigate"), "?": gui.Tr.SLocalize("help"), }) diff --git a/pkg/gui/status_panel.go b/pkg/gui/status_panel.go index 0e00b1835..96eb2d52e 100644 --- a/pkg/gui/status_panel.go +++ b/pkg/gui/status_panel.go @@ -43,9 +43,6 @@ func (gui *Gui) refreshStatus(g *gocui.Gui) error { func (gui *Gui) renderStatusOptions(g *gocui.Gui) error { return gui.renderOptionsMap(g, map[string]string{ - "o": gui.Tr.SLocalize("OpenConfig"), - "e": gui.Tr.SLocalize("EditConfig"), - "u": gui.Tr.SLocalize("checkForUpdate"), "?": gui.Tr.SLocalize("help"), }) } |