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

2009-09-23 Thread Rory McCann
I've updated this for dmenu-style completion and you can now add the current url to the urls file. On Fri, Sep 18, 2009 at 08:52:04PM +0100, Anselm R Garbe wrote: > Why not using dmenu for that? Just an idea though... > > On Sep 18, 2009 8:34 PM, "Rory Rory" wrote: > > Here is the actual patch

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

2009-09-19 Thread Jacob Todd
On Sat, Sep 19, 2009 at 11:33:31AM +0100, Rory Rory wrote: > Dmenu is an excellent program but I wanted something that would fit in with > surf more, to be used when you're still in it, something that is consistent > with the rest of surf. Dmenu would work really well as a program to launch > surf.

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

2009-09-19 Thread Rory Rory
Dmenu is an excellent program but I wanted something that would fit in with surf more, to be used when you're still in it, something that is consistent with the rest of surf. Dmenu would work really well as a program to launch surf. Also, I wanted to do this just to see if I could. On Fri, Sep 18

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

2009-09-18 Thread Anselm R Garbe
Why not using dmenu for that? Just an idea though... On Sep 18, 2009 8:34 PM, "Rory Rory" wrote: Here is the actual patch. Sorry, I sent the wrong file the first time. On 9/18/09, Rory Rory wrote: > Sorry, the patch I sent is broken. If you ... -- Rory

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

2009-09-18 Thread Rory Rory
Here is the actual patch. Sorry, I sent the wrong file the first time. On 9/18/09, Rory Rory 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 wrote: >> Hello >> >> I've added

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

2009-09-18 Thread Rory Rory
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 wrote: > Hello > > I've added a very simple url completion mode to surf, using a > GtkEntryCompletion object. It only completes urls from a fi

[dev][surf] Basic Address Auto-Completion

2009-09-18 Thread Rory McCann
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