[Sugar-devel] [PATCH sugar] Make sure the entry has the right color when copying from external device to Journal SL #2690
simon at schampijer.de
Fri Jun 24 08:47:16 EDT 2011
On 06/09/2011 05:27 PM, Simon Schampijer wrote:
> On 06/07/2011 07:52 PM, Sascha Silbe wrote:
>> Excerpts from Simon Schampijer's message of Fri Jun 03 12:38:03 +0200
>>> @@ -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
>> Otherwise the patch looks fine.
Took that as an ack and pushed that patch now.
Thanks for the review,
> By default the metadata for for a file on an external device has the
> black/white color . When we now copy a file from an external device
> to the Journal we color the new Journal entry in our color.
> If we copy a Journal entry saved on machine A to machine B using an
> external device we want to keep the color information from machine A.
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
More information about the Sugar-devel