mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
dbus_export: fix get_layout_children array signature
GetLayout method should return layout as `(ia{sv}av)` not `(ia{sv}a(ia{sv}av))`.
This commit is contained in:
parent
ca24b8a55c
commit
f625ecc861
@ -237,7 +237,7 @@ class DBusMenu(QObject):
|
||||
return parent_id, props, self.get_layout_children(parent_id, depth, property_names)
|
||||
|
||||
def get_layout_children(self, parent_id, depth, property_names):
|
||||
ans = dbus.Array(signature='(ia{sv}av)')
|
||||
ans = dbus.Array(signature='v')
|
||||
ac = self.id_to_action(parent_id)
|
||||
if ac is not None and depth != 0 and ac.menu() is not None:
|
||||
for child in menu_actions(ac.menu()):
|
||||
|
Loading…
x
Reference in New Issue
Block a user