mirror of
https://github.com/clockworkpi/LauncherGoDev.git
synced 2026-03-19 02:12:46 +01:00
next is keyboard bugs
This commit is contained in:
@@ -2,7 +2,7 @@ package DBUS
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"strconv"
|
||||
//"strconv"
|
||||
"github.com/godbus/dbus"
|
||||
)
|
||||
|
||||
@@ -127,8 +127,8 @@ func (self *DBus) check_for_wireless(iwconfig string, wireless_ip string) bool
|
||||
if strength == 0 {
|
||||
return false
|
||||
}
|
||||
strength_str := strconv.Itoa(strength)
|
||||
self.Daemon.Get( self.Daemon.Method("FormatSignalForPrinting",strength_str), &strength_str)
|
||||
strength_str := ""
|
||||
self.Daemon.Get( self.Daemon.Method("FormatSignalForPrinting",strength), &strength_str)
|
||||
|
||||
return true
|
||||
}
|
||||
@@ -174,5 +174,5 @@ var DBusHandler *DBus //global
|
||||
func init() {
|
||||
DBusHandler = NewDBus()
|
||||
DBusHandler.Init()
|
||||
fmt.Println("dbus inited")
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user