Add xpm to supported icon extensions
The freedesktop icon spec specifies that xpm image files should be supported for backwards compatibility.
This commit is contained in:
parent
dffe1e1a5a
commit
806ba9b978
@ -74,7 +74,7 @@ GdkPixbuf *get_pixbuf_from_icon(const char *iconname)
|
||||
if (!iconname || iconname[0] == '\0')
|
||||
return NULL;
|
||||
|
||||
const char *suffixes[] = { ".svg", ".png", NULL };
|
||||
const char *suffixes[] = { ".svg", ".png", ".xpm", NULL };
|
||||
GdkPixbuf *pixbuf = NULL;
|
||||
gchar *uri_path = NULL;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user