[gimp] Bug 772789 - Mac DMG 2.8.18 gets plug-ins path wrong, can't open JPEG files



commit 2a9b20d3849c8cc02a362c090e0aa70189878c28
Author: Michael Natterer <mitch gimp org>
Date:   Mon Nov 7 17:04:05 2016 +0100

    Bug 772789 - Mac DMG 2.8.18 gets plug-ins path wrong, can't open JPEG files
    
    Don't migrate any paths from an older gimprc. This unfortunately kills
    all manually added paths, but makes sure all paths default to the
    files of the new GIMP version, could be improved by parsing the path
    and replacing only the right elements.

 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 a8bf1d8..615502a 100644
--- a/app/core/gimp-user-install.c
+++ b/app/core/gimp-user-install.c
@@ -586,14 +586,15 @@ user_update_controllerrc (const GMatchInfo *matched_value,
 }
 
 #define GIMPRC_UPDATE_PATTERN \
-  "\\(theme [^)]*\\)"
+  "\\(theme [^)]*\\)"    "|" \
+  "\\(.*-path [^)]*\\)"
 
 static gboolean
 user_update_gimprc (const GMatchInfo *matched_value,
                     GString          *new_value,
                     gpointer          data)
 {
-  /* Do not migrate themes from GIMP < 2.10. */
+  /* Do not migrate paths and themes from GIMP < 2.10. */
   return FALSE;
 }
 


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