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 (
"bufio"
"fmt"
_ "image/png"
"os"
"os/exec"
@@ -33,7 +32,6 @@ func setup() {
if _, err = os.Open("PortableApps/LinuxPACom"); err != nil {
os.Mkdir("PortableApps/LinuxPACom", 0777)
}
fmt.Println(err)
_, err = os.Open("PortableApps/LinuxPACom/common.sh")
if err == nil {
comEnbld = true
+2 -2
View File
@@ -62,8 +62,8 @@ func ui(win *gtk.Window) {
catList.Remove(catList.GetRowAtIndex(i))
}
ls = getCatRows()
for _, v := range ls {
catList.Add(v)
for i, v := range ls {
catList.Insert(v, i)
}
catList.ShowAll()
})