Re: [dev][surf] Basic Address Auto-Completion

From: Rory Rory <tirard22_AT_googlemail.com>
Date: Fri, 18 Sep 2009 20:34:27 +0100

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

On 9/18/09, Rory Rory <tirard22_AT_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 <tirard22_AT_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

Received on Fri Sep 18 2009 - 19:34:27 UTC

This archive was generated by hypermail 2.2.0 : Fri Sep 18 2009 - 19:36:02 UTC