summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-15 21:51:04 -0600
committerJeff Carr <[email protected]>2024-01-15 21:51:04 -0600
commitbc06a0dba04e5fb6bbdf45f5ac161e782d8c7383 (patch)
treefc0ef608cca59dca42b531129a81f0b38d81b251
parent050c59d8d2f2212cbf5086d0ccf55e9feaa4b13e (diff)
remove smartwindow test code
Signed-off-by: Jeff Carr <[email protected]>
-rw-r--r--repolist.go25
1 files changed, 0 insertions, 25 deletions
diff --git a/repolist.go b/repolist.go
index d199cd7..ce3df89 100644
--- a/repolist.go
+++ b/repolist.go
@@ -4,10 +4,6 @@ package main
import (
"io/ioutil"
"strings"
-
- "go.wit.com/log"
-
- "go.wit.com/apps/control-panel-dns/smartwindow"
)
func (r *repo) getPath() string {
@@ -33,27 +29,6 @@ func splitLine(line string) (string, string, string, string) {
return path, master, devel, user
}
-// This creates a window
-func hellosmart() {
- win := smartwindow.New()
- win.SetParent(myGui)
- win.InitWindow()
- win.Title("hellosmart test")
- win.Vertical()
- win.SetDraw(smartDraw)
- win.Make()
-
- win.Box().NewButton("test smartwindow", func () {
- log.Println("smart")
- })
-}
-
-func smartDraw(sw *smartwindow.SmartWindow) {
- sw.Box().NewButton("hello", func () {
- log.Println("smart")
- })
-}
-
func myrepolist() []string {
content, _ := ioutil.ReadFile("/home/jcarr/.config/myrepolist")
out := string(content)