tint2conf: Do not search for icons in all icon themes (issue #563)
This commit is contained in:
@@ -1640,7 +1640,7 @@ GdkPixbuf *load_icon(const gchar *name)
|
||||
process_events();
|
||||
|
||||
int size = 22;
|
||||
char *path = get_icon_path(icon_theme, name, size);
|
||||
char *path = get_icon_path(icon_theme, name, size, FALSE);
|
||||
GdkPixbuf *pixbuf = path ? gdk_pixbuf_new_from_file_at_size(path, size, size, NULL) : NULL;
|
||||
free(path);
|
||||
return pixbuf;
|
||||
|
||||
Reference in New Issue
Block a user