forked from sunglocto/lambda
right-click menus alongside other changes
This commit is contained in:
8
main.go
8
main.go
@@ -174,7 +174,7 @@ func main() {
|
||||
originator := jid.MustParse(m.From).Bare().String()
|
||||
|
||||
glib.IdleAdd(func() {
|
||||
uiQueue <- func() {
|
||||
//uiQueue <- func() {
|
||||
b := gtk.NewBox(gtk.OrientationVertical, 0)
|
||||
ba, ok := generateMessageWidget(p).(*gtk.Box)
|
||||
if ok {
|
||||
@@ -190,7 +190,7 @@ func main() {
|
||||
} else {
|
||||
fmt.Println("Got message when the tab does not exist!")
|
||||
}
|
||||
}
|
||||
//}
|
||||
})
|
||||
})
|
||||
|
||||
@@ -230,7 +230,7 @@ func main() {
|
||||
} else {
|
||||
typed_unit.Members.Delete(ocu.ID)
|
||||
glib.IdleAdd(func() {
|
||||
uiQueue <- func() {
|
||||
//uiQueue <- func() {
|
||||
b := gtk.NewLabel("")
|
||||
ba, ok := generatePresenceWidget(p).(*gtk.Label)
|
||||
if ok {
|
||||
@@ -246,7 +246,7 @@ func main() {
|
||||
} else {
|
||||
fmt.Println("Got message when the tab does not exist!")
|
||||
}
|
||||
}
|
||||
//}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user