Should solve a (newly introduced) intermittent crash issue with fw-settings.

shw_dev
shw 8 years ago
parent 27d0a4809d
commit f945481c2e

@ -5,6 +5,7 @@ import (
"fmt" "fmt"
"github.com/subgraph/fw-daemon/sgfw" "github.com/subgraph/fw-daemon/sgfw"
"github.com/godbus/dbus" "github.com/godbus/dbus"
"github.com/gotk3/gotk3/glib"
) )
@ -108,7 +109,7 @@ func newDbusServer() (*dbusServer, error) {
func (ds *dbusServer) Alert(data string) *dbus.Error { func (ds *dbusServer) Alert(data string) *dbus.Error {
fmt.Println("Received Dbus update alert: ", data) fmt.Println("Received Dbus update alert: ", data)
repopulateWin() glib.IdleAdd(repopulateWin)
return nil return nil
} }

Loading…
Cancel
Save