[dev][surf] Basic Address Auto-Completion

From: Rory McCann <tirard22_AT_googlemail.com>
Date: Fri, 18 Sep 2009 20:02:57 +0100


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.

Rory McCann

Received on Fri Sep 18 2009 - 19:02:57 UTC

This archive was generated by hypermail 2.2.0 : Fri Sep 18 2009 - 19:12:03 UTC