diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-19 18:41:57 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-23 14:29:18 +1000 |
commit | 2f5d5034dbe4523c44faa58ba6f30c2fef06c128 (patch) | |
tree | bce2590230ef9bc560da11f376c4187c9db0067a /pkg/gui/layout.go | |
parent | a32947e7a777cb1f1bc16ea9693bd3d01519ea4b (diff) |
good progress
Diffstat (limited to 'pkg/gui/layout.go')
-rw-r--r-- | pkg/gui/layout.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/layout.go b/pkg/gui/layout.go index bc59bb5e2..96144df98 100644 --- a/pkg/gui/layout.go +++ b/pkg/gui/layout.go @@ -147,7 +147,7 @@ func (gui *Gui) layout(g *gocui.Gui) error { return err } branchesView.Title = gui.Tr.SLocalize("BranchesTitle") - branchesView.Tabs = []string{"Local Branches", "Remotes", "Tags"} + branchesView.Tabs = gui.viewTabNames("branches") branchesView.FgColor = textColor branchesView.ContainsList = true } @@ -168,7 +168,7 @@ func (gui *Gui) layout(g *gocui.Gui) error { return err } commitsView.Title = gui.Tr.SLocalize("CommitsTitle") - commitsView.Tabs = []string{"Commits", "Reflog"} + commitsView.Tabs = gui.viewTabNames("commits") commitsView.FgColor = textColor commitsView.ContainsList = true } |