summaryrefslogtreecommitdiff
path: root/gui.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-06 15:07:30 -0600
committerJeff Carr <[email protected]>2024-01-06 15:07:30 -0600
commit34bbd63bfbe39fa17dfa5b00628c966a1776b6cb (patch)
tree96ef417cc7c9e9fbdd407ea8ba955b9a518db5af /gui.go
parent5dee2af78434191a27987acfb02902a11f81067c (diff)
more cleanups after removing old window
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'gui.go')
-rw-r--r--gui.go51
1 files changed, 0 insertions, 51 deletions
diff --git a/gui.go b/gui.go
index 5b48039..37cfa2f 100644
--- a/gui.go
+++ b/gui.go
@@ -22,57 +22,9 @@ func setupControlPanelWindow() {
// setup the main tab
mainWindow("DNS and IPv6 Control Panel")
- detailsTab("OS Details")
debugTab("Debug")
}
-func detailsTab(title string) {
- var g2 *gui.Node
-
- me.details = gadgets.NewBasicWindow(me.myGui, title)
- me.details.Draw()
- me.details.Hide()
-
- g2 = me.details.Box().NewGroup("Real Stuff")
-
- grid := g2.NewGrid("gridnuts", 2, 2)
-
- grid.SetNext(1,1)
-
- grid.NewLabel("domainname =")
- grid.NewLabel("DEPRECATED")
-// me.domainname = grid.NewLabel("domainname")
-
- grid.NewLabel("hostname -s =")
- grid.NewLabel("DEPRECATED")
-
- grid.NewLabel("NS records =")
- grid.NewLabel("DEPRECATED")
-
- grid.NewLabel("UID =")
- grid.NewLabel("DEPRECATED")
-
- grid.NewLabel("Current IPv4 =")
- grid.NewLabel("DEPRECATED")
-
- grid.NewLabel("Current IPv6 =")
- grid.NewLabel("DEPRECATED")
-
- grid.NewLabel("Working Real IPv6 =")
- grid.NewLabel("?")
-
- grid.NewLabel("interfaces =")
- me.Interfaces = grid.NewCombobox("Interfaces")
-
- grid.NewLabel("refresh speed")
- me.LocalSpeedActual = grid.NewLabel("unknown")
-
- grid.Margin()
- grid.Pad()
-
- me.details.Hide()
-}
-
func debugTab(title string) {
var g2 *gui.Node
@@ -218,9 +170,6 @@ func mainWindow(title string) {
me.status.window.Toggle()
})
- gr.NewButton("OS details", func () {
- me.details.Toggle()
- })
gr.NewButton("linuxstatus.New()", func () {
if (me.statusOS == nil) {
me.statusOS = linuxstatus.New()