GNOME Bugzilla – Bug 675316
look for themes in XDG user data dir
Last modified: 2012-05-14 17:28:40 UTC
Gtk was just changed to prefer finding theme files in the XDG user data dir. We should probably do the same. path = g_build_filename (g_get_user_data_dir (), "themes", name, subpath, NULL);
Created attachment 213319 [details] [review] theme-parser: Don't load themes from our source tree There aren't any mutter themes in the source tree. You're better off using jhbuild with gnome-themes-standard.
Created attachment 213320 [details] [review] theme-parser: Look for themes in XDG_USER_DATA_DIR, not in ~/.themes
Review of attachment 213320 [details] [review]: ::: src/ui/theme-parser.c @@ +4288,3 @@ /* We try first in home dir, XDG_DATA_DIRS, then system dir for themes */ /* Try home dir for themes */ Maybe update both comments?
Created attachment 213322 [details] [review] theme-parser: Look for themes in XDG_USER_DATA_DIR, not in ~/.themes
Review of attachment 213319 [details] [review]: Yeah makes sense.
Review of attachment 213322 [details] [review]: Looks good no migration path but ....
Attachment 213319 [details] pushed as da65738 - theme-parser: Don't load themes from our source tree Attachment 213322 [details] pushed as 81930ca - theme-parser: Look for themes in XDG_USER_DATA_DIR, not in ~/.themes I'm not sure a migration path is needed for ~/.themes. We can always change our minds, of course.