diff options
| author | Jeff Carr <[email protected]> | 2024-02-21 10:34:13 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-21 10:34:13 -0600 |
| commit | fd082d49659c722776d72b97b9eca9d4aab8b78e (patch) | |
| tree | 579d5a12a402fd39097f9b60edbd9ed1d2592c62 /controlPanelWindow.go | |
| parent | 67d9306298b65623234d5b35c5e8f0b554623925 (diff) | |
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'controlPanelWindow.go')
| -rw-r--r-- | controlPanelWindow.go | 25 |
1 files changed, 5 insertions, 20 deletions
diff --git a/controlPanelWindow.go b/controlPanelWindow.go index 3392321..827e6c3 100644 --- a/controlPanelWindow.go +++ b/controlPanelWindow.go @@ -12,26 +12,6 @@ import ( // This setups up the dns control panel window func setupControlPanelWindow(title string) { - log.Info("artificial sleep of:", me.artificialSleep) - log.Sleep(me.artificialSleep) - - // setup the main tab - me.window = gadgets.NewBasicWindow(me.myGui, title) - me.window.Vertical() - me.window.Make() - - makeMainWindow() - - // These are your problems - me.problems = NewErrorBox(me.window.Box(), "Errors", "has problems?") - me.problems.addIPerror(RR, USER, "1:1:1:1") - - me.window.Draw() -} - -func myDefaultExit(n *gui.Node) { - log.Println("You can Do exit() things here") - os.Exit(0) } func makeMainWindow() { @@ -106,3 +86,8 @@ func statusGrid(n *gui.Node) { } }) } + +func myDefaultExit(n *gui.Node) { + log.Println("You can Do exit() things here") + os.Exit(0) +} |
