# HG changeset patch # User Sean E. Russell # Date 1633985128 18000 # Mon Oct 11 15:45:28 2021 -0500 # Node ID 97db8e8078fed8403d68874511555fd4ebfadd9f # Parent 896d2d664a2aecbfa7bf902d8d8172a1e726175e Setting the position in Popup caused the menu to not stay open. diff --git a/gui.go b/gui.go --- a/gui.go +++ b/gui.go @@ -167,7 +167,7 @@ si.SetTitle("gocryptkeeper") si.SetTooltipMarkup("gocryptkeeper") si.Connect("activate", func(cbx *glib.CallbackContext) { - leftMenu.Popup(nil, nil, gtk.StatusIconPositionMenu, si, uint(cbx.Args(0)), uint32(cbx.Args(1))) + leftMenu.Popup(nil, nil, nil, si, uint(cbx.Args(0)), uint32(cbx.Args(1))) }) si.Connect("popup-menu", func(cbx *glib.CallbackContext) { rightMenu.Popup(nil, nil, gtk.StatusIconPositionMenu, si, uint(cbx.Args(0)), uint32(cbx.Args(1)))