Here is the actual patch. Sorry, I sent the wrong file the first time.

On 9/18/09, Rory Rory <tirar...@googlemail.com> wrote:
> Sorry, the patch I sent is broken. If you replace strcat(...) on line
> 426 with g_strconcat(workdir,"/urls.txt",NULL) it will work.
>
> On 9/18/09, Rory McCann <tirar...@googlemail.com> wrote:
>> Hello
>>
>> I've added a very simple url completion mode to surf, using a
>> GtkEntryCompletion object. It only completes urls from a file just now,
>> although I'm hoping to add history completion as well. It reads from
>> ~/.surf/urls.txt and each address should be on a new line. Bear in mind
>> that
>> it isn't very clever: if you add http://example.com to urls.txt you will
>> have to start typing http... to make it appear. I'm getting around this
>> by
>> only writing example.com in the file.
>>
>> I think this is pretty useful, hopefully someone else might as well.
>>
>> Regards
>> Rory McCann
>>
>
>
> --
> Rory
>


-- 
Rory

Attachment: surf-0.2-urlcomplete.diff
Description: Binary data

Reply via email to