Attempt to fix right-click user windows
This commit is contained in:
@@ -32,7 +32,7 @@ func createTab(jid string, isMuc bool) {
|
||||
}
|
||||
}
|
||||
|
||||
func switchToTab(jid string) {
|
||||
func switchToTab(jid string, w *gtk.Window) {
|
||||
current = jid
|
||||
tab, ok := tabs.Load(current)
|
||||
if !ok {
|
||||
@@ -145,6 +145,7 @@ func switchToTab(jid string) {
|
||||
}()
|
||||
|
||||
win.SetChild(profile_box)
|
||||
win.SetTransientFor(win)
|
||||
win.Present()
|
||||
})
|
||||
userbox.AddController(gesture)
|
||||
|
||||
Reference in New Issue
Block a user