From d6731b8cee156c6500714b1a6b13f9522381ded0 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Tue, 27 Jun 2017 09:14:37 +0100 Subject: [PATCH] [#3078|GTKUI] Apply workaround for showing the OSX menu Commenting out the remove_accelerator fixes showing the menubar correctly. --- deluge/ui/gtkui/menubar_osx.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deluge/ui/gtkui/menubar_osx.py b/deluge/ui/gtkui/menubar_osx.py index 1512c76ff..64cfbbad7 100644 --- a/deluge/ui/gtkui/menubar_osx.py +++ b/deluge/ui/gtkui/menubar_osx.py @@ -16,7 +16,8 @@ from deluge.configmanager import ConfigManager def accel_swap(item, group, skey, smod, dkey, dmod): - item.remove_accelerator(group, ord(skey), smod) + # Accel map hack broken, see ticket #3078 + # item.remove_accelerator(group, ord(skey), smod) item.add_accelerator('activate', group, ord(dkey), dmod, ACCEL_VISIBLE)