Re: [dev] [surf] downloads fix

From: Enno Boland (Gottox) <gottox_AT_gmail.com>
Date: Fri, 9 Apr 2010 08:46:56 +0200

Very interesting though, downloading did work for me. (Doesn't make
sense to me why it did)
Anyway. It was added some time ago to stop loading a page when a
download starts. But I thought I removed this piece of code. I'll fix
that this evening.

2010/4/7 julien steinhauser <julien.steinhauser_AT_orange.fr>:
> On Wed, Apr 07, 2010 at 11:31:18AM +0200, Nibble wrote:
>> reading the surf code I found the following two lines at
>> loadstatuschange():
>>
>> 423     if(c->download)
>> 424         stop(c, NULL);
>>
>> Why are they there?
>
> I think these 2 lines are here to let the stop function
> through the escape key handle also downloads and not only page loading.
>
>>
>> I attach a patch fixing this issue and a warning in compilation.
> (...)
>> +     case WEBKIT_LOAD_FAILED:
> (...)
>
> You have the warning only because of your webkit version,
> here on Debian Sid, i also have this warning but on FreeBSD 8.0
> with an older webkit version that on the the Sid, i don't.
>
>
>
>

-- 
http://gnuffy.chaotika.org - Real Community Distro
Received on Fri Apr 09 2010 - 06:46:56 UTC

This archive was generated by hypermail 2.2.0 : Fri Apr 09 2010 - 07:00:02 UTC