From c336171e71e6214a8d36abd83bce4882f56fb959 Mon Sep 17 00:00:00 2001 From: Diego Escalante Urrelo Date: Thu, 31 May 2007 19:43:10 +0000 Subject: Adds some prefixes to web_prefixes for ftp sites. Bug #422114. 2007-05-31 Diego Escalante Urrelo * lib/widgets/ephy-location-entry.c: Adds some prefixes to web_prefixes for ftp sites. Bug #422114. svn path=/trunk/; revision=7062 --- lib/widgets/ephy-location-entry.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c index 084234935..1669e8abe 100644 --- a/lib/widgets/ephy-location-entry.c +++ b/lib/widgets/ephy-location-entry.c @@ -98,10 +98,14 @@ static const struct web_prefixes [] = { { "http://www.", 11 }, + { "http://ftp.", 11 }, { "http://", 7 }, { "https://www.", 12 }, { "https://", 8 }, - { "www.", 4 } + { "ftp://", 6}, + { "ftp://ftp.", 10}, + { "www.", 4 }, + { "ftp.", 4} }; static const GtkTargetEntry url_drag_types [] = -- cgit v1.2.3