now try to replace .so with go code

This commit is contained in:
cuu
2018-12-08 21:17:27 +08:00
parent c7a52c69bb
commit 1826b16bee
16 changed files with 25 additions and 43 deletions

View File

@@ -415,7 +415,7 @@ func (self *TitleBar) Draw(title string) {
if self.DBusManager.IsWifiConnectedNow() == true {
ge := self.GetWifiStrength( self.DBusManager.WifiStrength() )
fmt.Println("wifi ge: ",ge)
//fmt.Println("wifi ge: ",ge)
if ge > 0 {
self.Icons["wifistatus"].SetIconIndex(ge)
self.Icons["wifistatus"].NewCoord(start_x+self.IconWidth+5, self.IconHeight/2+(self.BarHeight-self.IconHeight)/2 )