# HG changeset patch # User Richard Laager # Date 1228160653 0 # Node ID b6f2c637a3d9393c6d7a49e2b294750025ae5e69 # Parent 48cf0a54562121689bccf8e1a3aa69d6bdf93552 In the GNOME URL registration, ftp, gopher, http, and https are now special-cased as being "scheme://" instead of just plain "scheme:". diff -r 48cf0a545621 -r b6f2c637a3d9 pidgin/gtkutils.c --- a/pidgin/gtkutils.c Mon Dec 01 19:37:11 2008 +0000 +++ b/pidgin/gtkutils.c Mon Dec 01 19:44:13 2008 +0000 @@ -3621,7 +3621,17 @@ } start += sizeof("/desktop/gnome/url-handlers/") - 1; - protocol = g_strdup_printf("%s:", start); + + /* It would be nice if this was tracked in gconf. */ + if (!strcmp(start, "ftp") || + !strcmp(start, "gopher") || + !strcmp(start, "http") || + !strcmp(start, "https")) + protocol = g_strdup_printf("%s://", start); + else + protocol = g_strdup_printf("%s:", start); + + /* We need to free this later. */ gnome_url_handlers = g_list_prepend(gnome_url_handlers, protocol); if (!strcmp(protocol, "mailto:"))