[Sugar-devel] [PATCH sugar] refactoring of Spiral Home View option

Walter Bender walter.bender at gmail.com
Tue Feb 8 14:07:39 EST 2011


Background: I had generated a patch to 0.88 that implemented a cleaner
(and less invasive) implementation of the Spiral Home View option
(#2235) which was never applied (See [1]). I have regenerated the
patch (See attached file) based on the current version of
favoritelayouts.py in mainline (0.90.1).

The basic idea is to rename the RingLayout class from which most of
the other view variants are subclassed to BasicRingLayout and make
name the spiral view subclass RingLayout. This allows any changes to
be isolated to the new subclass.

Note that this patch does not impact #2591 and #2592 which will be
addressed separately.

-walter
-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org


[1] http://bugs.sugarlabs.org/attachment/ticket/2235/0001-a-more-succint-approach-to-the-spiral-morph.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-refactoring-of-Homeview-layouts-to-simplify-Spiral-o.patch
Type: application/octet-stream
Size: 17097 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20110208/27778ff0/attachment-0001.obj>


More information about the Sugar-devel mailing list