GNOME Bugzilla – Bug 631596
nautilus custom emblems should be placed in $XDG_DATA_HOME/icons/hicolor
Last modified: 2010-10-14 12:28:55 UTC
Created attachment 171887 [details] [review] emblem xdg patch See http://www.freedesktop.org/wiki/Specifications/basedir-spec i found in libnautilus-private/nautilus-emblem-utils.c there still use ~/.icons/hicolor/, which is not match fd.o
+ dir = g_build_filename (g_get_user_data_dir (), + "icons", "hicolor", "48x48", "emblems", NULL); [...] if (g_mkdir_with_parents (dir, 0755) != 0) { Wrong perms; the spec says 0700. Also, in the other changes, g_strdup_printf() isn't really the right way to build a path (even if the current code does it); use g_build_filename.
nautilus-emblem-utils.c has gone from nautilus master some time ago, together with 'Background and Emblems', so this is OBSOLETE.