[rkward-devel] Question regarding menu ordering for plugins

Thomas Friedrichsmeier thomas.friedrichsmeier at ruhr-uni-bochum.de
Thu Nov 27 09:04:22 UTC 2014


Hi!

I'm currently redoing some of the menu-building from .pluginmaps. In 
particular so we can keep information, on just where in the menu a particular 
plugin can be found. In this process, I plan on ditching the index="x"-
attribute that is currently controlling ordering of menu items. This never was 
terribly clever design. Instead, I consider simply sorting menu entries 
alphabetically by their label, automatically.

Does that sound like a good idea to you, or will it be better to give more 
control (and more responsibility) to the .pluginmap author? One alternative 
idea would be to replace the attribute "index" with "group". Entries would be 
placed in the menu in the order of declaration, but those belonging to the 
same "group" would stay next to each other. Would you like that better? Or a 
mixed approach, with alphabetical sorting only within each group?

Regards
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20141127/9beffaaf/attachment.sig>


More information about the Rkward-devel mailing list