[Sugar-devel] [PATCH] add update to keep callback to prevent data loss

Walter Bender walter.bender at gmail.com
Fri Jun 24 08:46:03 EDT 2011


On Fri, Jun 24, 2011 at 8:37 AM, Walter Bender <walter.bender at gmail.com> wrote:
> On Fri, Jun 24, 2011 at 8:35 AM, Simon Schampijer <simon at schampijer.de> wrote:
>> On 06/22/2011 01:57 PM, Walter Bender wrote:
>>>
>>> From: Walter Bender<walter.bender at gmail.com>
>>>
>>> Patch to fix data loss problem with keep button
>>>
>>> "clicking star causes newly typed description to disappear"
>>> (http://bugs.sugarlabs.org/ticket/2926)
>>
>> Thanks Walter for the patch. The issue is that clicking on the keep button
>> does not trigger a focus out event which would have saved the metadata of
>> the description field.
>>
>> Based on your idea I moved the write of the favorite icon to
>> '_update_entry'. I hope this makes it a bit clearer and we only trigger one
>> write, patch attached. Let me know what you think.
>
> That probably is a more sensible approach. I'll test your patch.

Works!! Thanks.

-walter

>
> thanks.
>
> -walter
>
>>
>> Regards,
>>   Simon
>>
>> _______________________________________________
>> Sugar-devel mailing list
>> Sugar-devel at lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>
>>
>
>
>
> --
> Walter Bender
> Sugar Labs
> http://www.sugarlabs.org
>



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


More information about the Sugar-devel mailing list