app: copy gimp.css instead of gtkrc to the user's gimp directory

Also, don't migrate gtkrc files from older gimp versions.
This commit is contained in:
Michael Natterer 2010-12-29 15:20:32 +01:00
parent af1bb43f37
commit 19528a61fe
1 changed files with 3 additions and 2 deletions

View File

@ -88,7 +88,7 @@ static const struct
}
gimp_user_install_items[] =
{
{ "gtkrc", USER_INSTALL_COPY },
{ "gimp.css", USER_INSTALL_COPY },
{ "menurc", USER_INSTALL_COPY },
{ "brushes", USER_INSTALL_MKDIR },
{ "dynamics", USER_INSTALL_MKDIR },
@ -887,7 +887,8 @@ user_install_migrate_files (GimpUserInstall *install)
g_str_has_prefix (basename, "gimpswap.") ||
strcmp (basename, "pluginrc") == 0 ||
strcmp (basename, "themerc") == 0 ||
strcmp (basename, "toolrc") == 0)
strcmp (basename, "toolrc") == 0 ||
strcmp (basename, "gtkrc") == 0)
{
goto next_file;
}