Preserve the order in dbus menu when doing action reusing.

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

Description

Preserve the order in dbus menu when doing action reusing.

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.

Reviewers: Plasma, davidedmundson, broulik

Reviewed By: Plasma, davidedmundson

Subscribers: plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D8585

Details

Committed
xuetianwengNov 9 2017, 6:39 PM
Reviewer
Plasma
Differential Revision
D8585: Preserve the order in dbus menu when doing action reusing.
Parents
R120:ad130ff3bb1f: Be more explicit about Qt5::Widgets dependencies
Branches
Unknown
Tags
Unknown