[Sugar-devel] [PATCH sugar] Make sure the entry has the right color when copying from external device to Journal SL #2690

Sascha Silbe sascha-ml-reply-to-2011-3 at silbe.org
Tue Jun 7 13:52:39 EDT 2011


Excerpts from Simon Schampijer's message of Fri Jun 03 12:38:03 +0200 2011:

[src/jarabe/journal/model.py]
> @@ -615,6 +617,9 @@ def copy(metadata, mount_point):
>      """Copies an object to another mount point
>      """
>      metadata = get(metadata['uid'])
> +    if mount_point == '/' and metadata['icon-color'] == '#000000,#ffffff':

Where does this colour come from? If we don't know the colour, why is it
set?

Otherwise the patch looks fine.

Sascha

-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 494 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20110607/ea2b5331/attachment.pgp>


More information about the Sugar-devel mailing list