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



commit d8ee8b4029a0c972d8982c9e330c04ff33163455
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 8e5124c..60c716a 100644
--- a/app/core/gimp-user-install.c
+++ b/app/core/gimp-user-install.c
@@ -83,7 +83,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 },
@@ -534,7 +534,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]