Preserve the order in dbus menu when doing action reusing.
ClosedPublic

Authored by xuetianweng on Oct 31 2017, 11:40 PM.

Details

Summary

Right now, new Action always appends to the list, but application may
want to add new action in the middle of the menu. This breaks such
application with dynamic menu entries. This change tries to keep the
order of actions same as the order in dbus request.

Test Plan

Manually tested the brokened menu in certain applications.

Diff Detail

Repository
R120 Plasma Workspace
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
xuetianweng created this revision.Oct 31 2017, 11:40 PM
Restricted Application added a project: Plasma. · View Herald TranscriptOct 31 2017, 11:40 PM
davidedmundson accepted this revision.Nov 9 2017, 6:20 PM
This revision is now accepted and ready to land.Nov 9 2017, 6:20 PM
This revision was automatically updated to reflect the committed changes.