From f931f0500639fc21912a549477befe63b4998f60 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Wed, 23 May 2012 11:50:32 +0200 Subject: [PATCH] libgimpconfig: support $(gimp_installation_dir) in config paths --- libgimpconfig/gimpconfig-path.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libgimpconfig/gimpconfig-path.c b/libgimpconfig/gimpconfig-path.c index 43d03bb4a7..2578fe1e3d 100644 --- a/libgimpconfig/gimpconfig-path.c +++ b/libgimpconfig/gimpconfig-path.c @@ -366,6 +366,8 @@ gimp_config_path_expand_only (const gchar *path, s = gimp_plug_in_directory (); else if (strcmp (token, "gimp_sysconf_dir") == 0) s = gimp_sysconf_directory (); + else if (strcmp (token, "gimp_installation_dir") == 0) + s = gimp_installation_directory (); if (!s) s = g_getenv (token);