[gtk+] Prefer xdg data directory to legacy .icons directory
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Prefer xdg data directory to legacy .icons directory
- Date: Mon, 30 Apr 2012 10:51:57 +0000 (UTC)
commit f10176e49f71a9e5173d992392eec272e350386d
Author: William Jon McCann <jmccann redhat com>
Date: Fri Apr 27 12:39:17 2012 -0400
Prefer xdg data directory to legacy .icons directory
https://bugzilla.gnome.org/show_bug.cgi?id=646631
gtk/gtkicontheme.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c
index ec26bdd..0f2d811 100644
--- a/gtk/gtkicontheme.c
+++ b/gtk/gtkicontheme.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]