Allow for loading of https favicon files
This commit is contained in:
parent
88c7fbbb98
commit
517e67cc0a
1 changed files with 2 additions and 1 deletions
|
@ -521,7 +521,8 @@ katze_net_load_icon (KatzeNet* net,
|
||||||
g_return_val_if_fail (GTK_IS_WIDGET (widget), NULL);
|
g_return_val_if_fail (GTK_IS_WIDGET (widget), NULL);
|
||||||
|
|
||||||
pixbuf = NULL;
|
pixbuf = NULL;
|
||||||
if (uri && g_str_has_prefix (uri, "http://"))
|
if (uri && (g_str_has_prefix (uri, "http://") ||
|
||||||
|
g_str_has_prefix (uri, "https://")))
|
||||||
{
|
{
|
||||||
i = 8;
|
i = 8;
|
||||||
while (uri[i] != '\0' && uri[i] != '/')
|
while (uri[i] != '\0' && uri[i] != '/')
|
||||||
|
|
Loading…
Reference in a new issue