summaryrefslogtreecommitdiff
path: root/controlPanelWindow.go
diff options
context:
space:
mode:
Diffstat (limited to 'controlPanelWindow.go')
-rw-r--r--controlPanelWindow.go25
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)
+}