Re: [Gimp-user] Searchpath separator



On 11/18/2011 08:13 AM, paynekj wrote:
Script-fu question:
Is there an equivalent to DIR-SEPARATOR for search paths?
i.e. the return from (gimp-gimprc-query "script-fu-path")
As the path separator is different on Windows and Linux (and who knows what on Mac)

I don't think so. The gimprc file contains:

# This path will be searched for scripts when the Script-Fu plug-in is run.
# This is a colon-separated list of folders to search.
#
# (script-fu-path "${gimp_dir}/scripts:${gimp_data_dir}/scripts")

So this means that Gimp will use a colon on all platforms. That makes sense, since this is a Gimp-only setting.

Kevin
As no-one gave me an answer, and this thread got rudely hijacked, I've raised a bugzilla:
https://bugzilla.gnome.org/show_bug.cgi?id=664316




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