D8585: Preserve the order in dbus menu when doing action reusing.

Xuetian Weng noreply at phabricator.kde.org
Tue Oct 31 23:40:26 UTC 2017


xuetianweng created this revision.
xuetianweng added reviewers: Plasma, davidedmundson.
Restricted Application added a project: Plasma.

REVISION 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.

REPOSITORY
  R120 Plasma Workspace

BRANCH
  Plasma/5.11

REVISION DETAIL
  https://phabricator.kde.org/D8585

AFFECTED FILES
  libdbusmenuqt/dbusmenuimporter.cpp

To: xuetianweng, #plasma, davidedmundson
Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20171031/7bc83b30/attachment-0001.html>


More information about the Plasma-devel mailing list