[sugar] web-activity fix

Dan Krejsa dan.krejsa
Sun May 11 14:37:40 EDT 2008


Hi, I updated ticket 6962 which is apparently the same issue.

- Dan

On Sun, 2008-05-11 at 10:56 -0700, Dan Krejsa wrote:
> Hi,
> 
> The attached change in web-activity/downloadmanager.py fix a
> problem causing Browse downloads to fail with an exception in
> onProgressChange64() due to _create_journal_object() having failed
> to be called earlier from onStateChange() when state_flags contained
> the bit STATE_START, but also other bits as corresponding to
> State Type Flags from nsIWebProgressListener.idl.
> 
> I'm pretty confident about the changes in onStateChange(), but
> the change (eliminating a trailing '"' character) in the
> components.registrar.registerFactory() calls are fairly gratuitous,
> and should be checked by someone who is familiar with that API.
> 
> - Dan
> 
> 
> _______________________________________________
> Sugar mailing list
> Sugar at lists.laptop.org
> http://lists.laptop.org/listinfo/sugar




More information about the Sugar-devel mailing list