shell: Print the name of the missing icon

This commit is contained in:
Bastien Nocera 2012-12-03 14:57:42 +01:00
parent 691a258232
commit ae24773740

View file

@ -58,7 +58,11 @@ load_pixbuf_for_gicon (GIcon *icon)
}
else
{
g_warning ("Could not find icon");
char *name;
name = g_icon_to_string (icon);
g_warning ("Could not find icon '%s'", name);
g_free (name);
}
return pixbuf;