GtkIconTheme: Only look at resources for hicolor
We want to treat icons coming from resources as builtins that are looked at as part of Hicolor.
This commit is contained in:
parent
f7fbeb40c7
commit
c28d938a24
@ -3261,6 +3261,8 @@ theme_subdir_load (GtkIconTheme *icon_theme,
|
||||
g_free (full_dir);
|
||||
}
|
||||
|
||||
if (strcmp (theme->name, DEFAULT_THEME_NAME) == 0)
|
||||
{
|
||||
for (d = icon_theme->priv->resource_paths; d; d = d->next)
|
||||
{
|
||||
full_dir = g_build_filename ((const gchar *)d->data, theme->name, subdir, NULL);
|
||||
@ -3284,6 +3286,7 @@ theme_subdir_load (GtkIconTheme *icon_theme,
|
||||
theme_dir_destroy (dir);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* GtkIconInfo
|
||||
|
Loading…
Reference in New Issue
Block a user