mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
Linux: Fix right clicking on system tray icon not working
Fixes #1897571 [Weird dbus error with the systray menu on Linux](https://bugs.launchpad.net/calibre/+bug/1897571)
This commit is contained in:
parent
8586cb8d9a
commit
c27a4f141f
@ -62,7 +62,7 @@ def create_properties_for_action(ac, previous=None):
|
||||
data = icon_to_dbus_menu_icon(ac.icon())
|
||||
if data is not None:
|
||||
ans['icon-data'] = data
|
||||
ans['x-qt-icon-cache-key'] = icon.cacheKey()
|
||||
ans['x-qt-icon-cache-key'] = dbus.UInt64(icon.cacheKey())
|
||||
return ans
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user