Doing some stuff

This commit is contained in:
Belac Darkstorm
2017-04-06 09:20:00 -05:00
parent 0f1bb3fabd
commit 0403825c3d
2 changed files with 2 additions and 4 deletions
-2
View File
@@ -2,7 +2,6 @@ package main
import ( import (
"bufio" "bufio"
"fmt"
_ "image/png" _ "image/png"
"os" "os"
"os/exec" "os/exec"
@@ -33,7 +32,6 @@ func setup() {
if _, err = os.Open("PortableApps/LinuxPACom"); err != nil { if _, err = os.Open("PortableApps/LinuxPACom"); err != nil {
os.Mkdir("PortableApps/LinuxPACom", 0777) os.Mkdir("PortableApps/LinuxPACom", 0777)
} }
fmt.Println(err)
_, err = os.Open("PortableApps/LinuxPACom/common.sh") _, err = os.Open("PortableApps/LinuxPACom/common.sh")
if err == nil { if err == nil {
comEnbld = true comEnbld = true
+2 -2
View File
@@ -62,8 +62,8 @@ func ui(win *gtk.Window) {
catList.Remove(catList.GetRowAtIndex(i)) catList.Remove(catList.GetRowAtIndex(i))
} }
ls = getCatRows() ls = getCatRows()
for _, v := range ls { for i, v := range ls {
catList.Add(v) catList.Insert(v, i)
} }
catList.ShowAll() catList.ShowAll()
}) })