[Differential] [Request, 37 lines] D3834: [Panel Containment] Replace restore order logic by "algorithms"
broulik (Kai Uwe Broulik)
noreply at phabricator.kde.org
Wed Dec 28 13:41:29 UTC 2016
broulik created this revision.
broulik added a reviewer: Plasma.
broulik set the repository for this revision to R119 Plasma Desktop.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY
Replace the convoluted make an object with the order of applets by iterating them and then add them in order by a sort() and forEach().
This makes the code much easier to follow.
TEST PLAN
Verified that my applets are still added in the correct order. Also verified that applets not in the appletOrder are added at the end of the panel
REPOSITORY
R119 Plasma Desktop
REVISION DETAIL
https://phabricator.kde.org/D3834
AFFECTED FILES
containments/panel/contents/code/LayoutManager.js
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: broulik, #plasma
Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20161228/4ace0422/attachment.html>
More information about the Plasma-devel
mailing list