Attempt to fix right-click user windows
This commit is contained in:
1 parent
8fe4df8fb0
commit
ff3f1fc97a
2 files changed
+7
-4
No files matched your search
+2
-1
@@ -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