diff options
| author | Jeff Carr <[email protected]> | 2019-05-26 12:40:07 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-05-26 12:40:07 -0700 |
| commit | 9894f312641f09c6e7a685acf47d55e8be257607 (patch) | |
| tree | d55165cca2fdc82b84fc80097545e443e408b5cb /gui.go | |
| parent | 679f01341eaec0b5d6697e4015da18bfa12e8122 (diff) | |
almost complete obviewscation of the buttons
yes, I can't spell. I like it this way better anyway
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'gui.go')
| -rw-r--r-- | gui.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |
