mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 03:24:54 +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
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue