aboutsummaryrefslogtreecommitdiffstats
path: root/lib/widgets
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <diegoe@gnome.org>2007-06-01 03:43:10 +0800
committerDiego Escalante Urrelo <diegoe@src.gnome.org>2007-06-01 03:43:10 +0800
commitc336171e71e6214a8d36abd83bce4882f56fb959 (patch)
tree030cc3d5e3bb771baea09c84c90fda7b23a3dbdb /lib/widgets
parent6367ad45d40261775449168b27855aaed796be34 (diff)
downloadgsoc2013-epiphany-c336171e71e6214a8d36abd83bce4882f56fb959.tar
gsoc2013-epiphany-c336171e71e6214a8d36abd83bce4882f56fb959.tar.gz
gsoc2013-epiphany-c336171e71e6214a8d36abd83bce4882f56fb959.tar.bz2
gsoc2013-epiphany-c336171e71e6214a8d36abd83bce4882f56fb959.tar.lz
gsoc2013-epiphany-c336171e71e6214a8d36abd83bce4882f56fb959.tar.xz
gsoc2013-epiphany-c336171e71e6214a8d36abd83bce4882f56fb959.tar.zst
gsoc2013-epiphany-c336171e71e6214a8d36abd83bce4882f56fb959.zip
Adds some prefixes to web_prefixes for ftp sites. Bug #422114.
2007-05-31 Diego Escalante Urrelo <diegoe@gnome.org> * lib/widgets/ephy-location-entry.c: Adds some prefixes to web_prefixes for ftp sites. Bug #422114. svn path=/trunk/; revision=7062
Diffstat (limited to 'lib/widgets')
-rw-r--r--lib/widgets/ephy-location-entry.c6
1 files changed, 5 insertions, 1 deletions
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 [] =