From 838fdb7b605c1313c6bde722772d8bed9ac1b098 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 24 May 2019 18:17:05 -0700 Subject: start removing the config package Signed-off-by: Jeff Carr --- gui.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'gui.go') diff --git a/gui.go b/gui.go index 4547336..5f38591 100644 --- a/gui.go +++ b/gui.go @@ -5,7 +5,6 @@ import "log" import "github.com/andlabs/ui" import _ "github.com/andlabs/ui/winmanifest" -// import "github.com/gookit/config" import "github.com/davecgh/go-spew/spew" func InitColumns(mh *TableData, parts []TableColumnData) { @@ -194,7 +193,6 @@ func defaultFontButtonClick(button *ui.FontButton) { func CreateButton(name string, note string, custom func(*ButtonMap)) *ui.Button { newB := ui.NewButton(name) - newB.OnClicked(defaultButtonClick) var newmap ButtonMap @@ -210,7 +208,6 @@ func CreateButton(name string, note string, custom func(*ButtonMap)) *ui.Button func CreateAccountButton(account string, custom func(*ButtonMap)) *ui.Button { name := "Show " + account newB := ui.NewButton(name) - newB.OnClicked(defaultButtonClick) var newmap ButtonMap @@ -227,7 +224,6 @@ func CreateAccountButton(account string, custom func(*ButtonMap)) *ui.Button { func CreateLoginButton(account string, custom func(*ButtonMap)) *ui.Button { name := "Login " + account newB := ui.NewButton(name) - newB.OnClicked(defaultButtonClick) var newmap ButtonMap -- cgit v1.2.3