Skip to content

Commit

Permalink
removed old version info logic for cogentcore/core#724
Browse files Browse the repository at this point in the history
  • Loading branch information
kkoreilly committed Feb 14, 2024
1 parent c1172da commit c6441f3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
8 changes: 0 additions & 8 deletions code/code/settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import (
"slices"
"strings"

"cogentcore.org/cogent"
"cogentcore.org/cogent/code/cdebug"
"cogentcore.org/core/fi"
"cogentcore.org/core/filetree"
Expand Down Expand Up @@ -163,14 +162,7 @@ func (se *SettingsData) ApplyEnvVars() {
}
}

// VersionInfo returns Code version information
func (se *SettingsData) VersionInfo() string { //gti:add
vinfo := cogent.Version + " date: " + cogent.VersionDate + " UTC; git commit-1: " + cogent.GitCommit
return vinfo
}

func (se *SettingsData) ConfigToolbar(tb *gi.Toolbar) {
giv.NewFuncButton(tb, se.VersionInfo).SetShowReturn(true).SetIcon(icons.Info)
giv.NewFuncButton(tb, se.EditKeyMaps).SetIcon(icons.Keyboard)
giv.NewFuncButton(tb, se.EditLangOpts).SetIcon(icons.Subtitles)
giv.NewFuncButton(tb, se.EditCmds).SetIcon(icons.KeyboardCommandKey)
Expand Down
12 changes: 0 additions & 12 deletions version.go

This file was deleted.

0 comments on commit c6441f3

Please sign in to comment.