[sugar] [PATCH] Order control panel modules logically

Eben Eliason eben.eliason
Wed Jun 18 21:32:48 EDT 2008


The control panel modules are currently read into a dict, which tosses
them out in arbitrary order.  This patch cleans things up, with two
main goals:

1) Always place the "About me" and "About my XO" modules first, as
they are the most general
2) Arrange the remaining modules alphabetically, so their order has has meaning

It's possible that it would be better to order them by installation
date, such that old modules retain their positions in the grid even as
new ones appear, but that's arguable, and alphabetical sorting is at
least a logical ordering that can be made sense of.

- Eben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: order_modules_logically.diff
Type: text/x-diff
Size: 1749 bytes
Desc: not available
Url : http://lists.laptop.org/pipermail/sugar/attachments/20080618/213869ec/attachment-0001.diff 



More information about the Sugar-devel mailing list