mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-07 01:00:28 +00:00
Prefer xdg data directory to legacy .icons directory
https://bugzilla.gnome.org/show_bug.cgi?id=646631
This commit is contained in:
parent
9f5e580821
commit
f10176e49f
@ -661,8 +661,8 @@ gtk_icon_theme_init (GtkIconTheme *icon_theme)
|
||||
priv->search_path = g_new (char *, priv->search_path_len);
|
||||
|
||||
i = 0;
|
||||
priv->search_path[i++] = g_build_filename (g_get_home_dir (), ".icons", NULL);
|
||||
priv->search_path[i++] = g_build_filename (g_get_user_data_dir (), "icons", NULL);
|
||||
priv->search_path[i++] = g_build_filename (g_get_home_dir (), ".icons", NULL);
|
||||
|
||||
for (j = 0; xdg_data_dirs[j]; j++)
|
||||
priv->search_path[i++] = g_build_filename (xdg_data_dirs[j], "icons", NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user