Review Request 107409: [KMenuEdit] Ability to sort elements

Julien Borderie frajibe at gmail.com
Wed Jan 16 23:15:19 GMT 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/107409/
-----------------------------------------------------------

Review request for kde-workspace and Albert Astals Cid.


Summary (updated)
-----------------

[KMenuEdit] Ability to sort elements


Description (updated)
-------

Hi,

This patch adds 2 actions to sort items in KMenuEdit (by name or description) :
- sort sub-elements for the current selection.
- sort all elements.

It respects separator elements to avoid mixing elements groups together.
Actions are visible in the main menu, toolbar and contextual menu.

Thank you for your review.


This addresses bug 108419.
    http://bugs.kde.org/show_bug.cgi?id=108419


Diffs
-----

  kmenuedit/treeview.cpp f43ed1d 

Diff: http://git.reviewboard.kde.org/r/107409/diff/


Testing (updated)
-------

- Select an element and choose "sort by name".
- Select an element and choose "sort by description".
- Choose "sort all by name".
- Choose "sort all by description".
- Select an empty menu or a simple element -> selection sorting disabled.


File Attachments (updated)
----------------


  http://git.reviewboard.kde.org/media/uploaded/files/2013/01/16/patch_3.diff


Thanks,

Julien Borderie

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20130116/ca53bf78/attachment.htm>


More information about the kde-core-devel mailing list