From 9894f312641f09c6e7a685acf47d55e8be257607 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 26 May 2019 12:40:07 -0700 Subject: almost complete obviewscation of the buttons yes, I can't spell. I like it this way better anyway Signed-off-by: Jeff Carr --- gui.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gui.go') diff --git a/gui.go b/gui.go index 254c585..5e24774 100644 --- a/gui.go +++ b/gui.go @@ -90,8 +90,8 @@ func AddTableTab(mytab *ui.Tab, mytabcount int, name string, rowcount int, parts hbox := ui.NewHorizontalBox() hbox.SetPadded(true) - hbox.Append(CreateButton(account, nil, "Add Virtual Machine", "createAddVmBox", mouseClick), false) - hbox.Append(CreateButton(account, nil, "Close", "CLOSE", mouseClick), false) + hbox.Append(CreateButton(account, nil, "Add Virtual Machine", "createAddVmBox", nil), false) + hbox.Append(CreateButton(account, nil, "Close", "CLOSE", nil), false) vbox.Append(hbox, false) @@ -214,7 +214,7 @@ func CreateButton(a *pb.Account, vm *pb.Event_VM, return newB } -func CreateFontButton(action string, note string, custom func(*ButtonMap)) *ui.FontButton { +func CreateFontButton(action string, note string) *ui.FontButton { newB := ui.NewFontButton() // create a 'fake' button entry for the mouse clicks -- cgit v1.2.3