| 889 theme_install_theme(tmp, info); |
889 theme_install_theme(tmp, info); |
| 890 g_free(tmp); |
890 g_free(tmp); |
| 891 } else if (!g_ascii_strncasecmp(name, "http://", 7)) { |
891 } else if (!g_ascii_strncasecmp(name, "http://", 7)) { |
| 892 /* Oo, a web drag and drop. This is where things |
892 /* Oo, a web drag and drop. This is where things |
| 893 * will start to get interesting */ |
893 * will start to get interesting */ |
| 894 purple_util_fetch_url(name, TRUE, NULL, FALSE, theme_got_url, info); |
894 purple_util_fetch_url(name, TRUE, NULL, FALSE, -1, theme_got_url, info); |
| 895 } else if (!g_ascii_strncasecmp(name, "https://", 8)) { |
895 } else if (!g_ascii_strncasecmp(name, "https://", 8)) { |
| 896 /* purple_util_fetch_url() doesn't support HTTPS, but we want users |
896 /* purple_util_fetch_url() doesn't support HTTPS, but we want users |
| 897 * to be able to drag and drop links from the SF trackers, so |
897 * to be able to drag and drop links from the SF trackers, so |
| 898 * we'll try it as an HTTP URL. */ |
898 * we'll try it as an HTTP URL. */ |
| 899 char *tmp = g_strdup(name + 1); |
899 char *tmp = g_strdup(name + 1); |
| 900 tmp[0] = 'h'; |
900 tmp[0] = 'h'; |
| 901 tmp[1] = 't'; |
901 tmp[1] = 't'; |
| 902 tmp[2] = 't'; |
902 tmp[2] = 't'; |
| 903 tmp[3] = 'p'; |
903 tmp[3] = 'p'; |
| 904 |
904 |
| 905 purple_util_fetch_url(tmp, TRUE, NULL, FALSE, theme_got_url, info); |
905 purple_util_fetch_url(tmp, TRUE, NULL, FALSE, -1, theme_got_url, info); |
| 906 g_free(tmp); |
906 g_free(tmp); |
| 907 } else |
907 } else |
| 908 free_theme_info(info); |
908 free_theme_info(info); |
| 909 |
909 |
| 910 gtk_drag_finish(dc, TRUE, FALSE, t); |
910 gtk_drag_finish(dc, TRUE, FALSE, t); |