[gimp/gtk3-port: 141/226] app: copy gimp.css instead of gtkrc to the user's gimp directory



commit baf480b5c559572489796e667594434fa79e7641
Author: Michael Natterer <mitch gimp org>
Date:   Wed Dec 29 15:20:32 2010 +0100

    app: copy gimp.css instead of gtkrc to the user's gimp directory
    
    Also, don't migrate gtkrc files from older gimp versions.

 app/core/gimp-user-install.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/app/core/gimp-user-install.c b/app/core/gimp-user-install.c
index 6c0a76e..f31fcf6 100644
--- a/app/core/gimp-user-install.c
+++ b/app/core/gimp-user-install.c
@@ -86,7 +86,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 },
@@ -662,7 +662,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;
             }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]