mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-26 10:05:19 +00:00
[#3078|GTKUI] Apply workaround for showing the OSX menu
Commenting out the remove_accelerator fixes showing the menubar correctly.
This commit is contained in:
parent
fe80703f95
commit
d6731b8cee
@ -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)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user