Commit 2090f176 authored by Tor Lillqvist's avatar Tor Lillqvist Committed by Tor Lillqvist

Update to match Unix version.

2000-05-29  Tor Lillqvist  <tml@iki.fi>

* gimprc.win32: Update to match Unix version.

* app/gimp.sym: Add dialog_{,un}register.

* app/dialog_handler.c: Include <gmodule.h>, mark above functions
with G_MODULE_EXPORT.

* app/makefile.{msc,cygwin}: Update to match current GLib 1.3.

* libgimp/gimp.def
* libgimp/gimpui.def: Update according to function name changes etc.

* libgimp/makefile.{msc,cygwin}: Update for changed file
names.

* libgimp/makefile.cygwin
* modules/makefile.cygwin: Simplify, use the
../build/win32/make.mingw file.

* plug-ins/common/gz.c (save_image): Somewhat more informative
error message on Win32 when gzip.exe isn't found (most probable
cause of error).

* tips/gimp_tips.txt: Clarify location of personal GIMP directory
on Unix and Windows.
parent 30fb21f7
2000-05-29 Tor Lillqvist <tml@iki.fi>
* gimprc.win32: Update to match Unix version.
* app/gimp.sym: Add dialog_{,un}register.
* app/dialog_handler.c: Include <gmodule.h>, mark above functions
with G_MODULE_EXPORT.
* app/makefile.{msc,cygwin}: Update to match current GLib 1.3.
* libgimp/gimp.def
* libgimp/gimpui.def: Update according to function name changes etc.
* libgimp/makefile.{msc,cygwin}: Update for changed file
names.
* libgimp/makefile.cygwin
* modules/makefile.cygwin: Simplify, use the
../build/win32/make.mingw file.
* plug-ins/common/gz.c (save_image): Somewhat more informative
error message on Win32 when gzip.exe isn't found (most probable
cause of error).
* tips/gimp_tips.txt: Clarify location of personal GIMP directory
on Unix and Windows.
2000-05-29 Tuomas Kuosmanen <tigert@gimp.org> 2000-05-29 Tuomas Kuosmanen <tigert@gimp.org>
* plug-ins/gdyntext/gdyntext.c (gdt_get_values): We dont need to say * plug-ins/gdyntext/gdyntext.c (gdt_get_values): We dont need to say
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
*/ */
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include <gmodule.h>
#include "cursorutil.h" #include "cursorutil.h"
#include "dialog_handler.h" #include "dialog_handler.h"
...@@ -192,6 +194,7 @@ dialog_unidle_all (void) ...@@ -192,6 +194,7 @@ dialog_unidle_all (void)
/* Register a dialog that we can handle */ /* Register a dialog that we can handle */
G_MODULE_EXPORT
void void
dialog_register (GtkWidget *dialog) dialog_register (GtkWidget *dialog)
{ {
...@@ -225,6 +228,7 @@ dialog_register_fileload (GtkWidget *dialog) ...@@ -225,6 +228,7 @@ dialog_register_fileload (GtkWidget *dialog)
/* unregister dialog */ /* unregister dialog */
G_MODULE_EXPORT
void void
dialog_unregister (GtkWidget *dialog) dialog_unregister (GtkWidget *dialog)
{ {
......
...@@ -2,3 +2,5 @@ gimp_color_selector_register ...@@ -2,3 +2,5 @@ gimp_color_selector_register
gimp_color_selector_unregister gimp_color_selector_unregister
gimp_color_display_register gimp_color_display_register
gimp_color_display_unregister gimp_color_display_unregister
dialog_register
dialog_unregister
...@@ -30,8 +30,6 @@ INTL = ../../intl ...@@ -30,8 +30,6 @@ INTL = ../../intl
CFLAGS = $(OPTIMIZE) -DREGEX_MALLOC -DHAVE_CONFIG_H -I. -I.. -I$(GLIB) -I$(GMODULE) -I$(GTK)/gdk -I$(GTK) -I$(INTL) CFLAGS = $(OPTIMIZE) -DREGEX_MALLOC -DHAVE_CONFIG_H -I. -I.. -I$(GLIB) -I$(GMODULE) -I$(GTK)/gdk -I$(GTK) -I$(INTL)
# GCG = ../tools/gcg/gcg -I. -I../tools/gcg/gh
all : \ all : \
../config.h \ ../config.h \
libgimpim.a \ libgimpim.a \
...@@ -251,11 +249,6 @@ gimp_OBJECTS = \ ...@@ -251,11 +249,6 @@ gimp_OBJECTS = \
user_install.o \ user_install.o \
xcf.o xcf.o
# .SUFFIXES: .gc
# .gc.c:
# $(GCG) -o $@ $<
gimpres.o : gimp.rc wilber.ico gimpres.o : gimp.rc wilber.ico
windres gimp.rc gimpres.o windres gimp.rc gimpres.o
...@@ -265,11 +258,11 @@ gimp.def: gimp.sym ...@@ -265,11 +258,11 @@ gimp.def: gimp.sym
gimp.exe : ../config.h $(gimp_OBJECTS) libgimpim.a gimp.def gimpres.o gimp.exe : ../config.h $(gimp_OBJECTS) libgimpim.a gimp.def gimpres.o
# This is sickening. # This is sickening.
$(CC) $(CFLAGS) -Wl,--base-file,gimp.base -o gimp.exe $(gimp_OBJECTS) -L . -lgimpim -L ../libgimp -lgimpi -L $(GTK)/gtk -lgtk-$(GTK_VER) -L $(GTK)/gdk -lgdk-$(GTK_VER) -L $(INTL) -lgnu-intl -L $(GLIB) -lglib-$(GLIB_VER) -lgmodule-$(GLIB_VER) gimpres.o -lgdi32 -luser32 -lshell32 $(CC) $(CFLAGS) -Wl,--base-file,gimp.base -o gimp.exe $(gimp_OBJECTS) -L . -lgimpim -L ../libgimp -lgimpi -L $(GTK)/gtk -lgtk-$(GTK_VER) -L $(GTK)/gdk -lgdk-$(GTK_VER) -L $(INTL) -lgnu-intl -L $(GLIB) -lglib-$(GLIB_VER) -L $(GMODULE) -lgmodule-$(GLIB_VER) gimpres.o -lgdi32 -luser32 -lshell32
$(DLLTOOL) --base-file gimp.base --input-def gimp.def --output-exp gimp.exp $(DLLTOOL) --base-file gimp.base --input-def gimp.def --output-exp gimp.exp
$(CC) $(CFLAGS) -Wl,--base-file,gimp.base,gimp.exp -o gimp.exe $(gimp_OBJECTS) -L . -lgimpim -L ../libgimp -lgimpi -L $(GTK)/gtk -lgtk-$(GTK_VER) -L $(GTK)/gdk -lgdk-$(GTK_VER) -L $(INTL) -lgnu-intl -L $(GLIB) -lglib-$(GLIB_VER) -lgmodule-$(GLIB_VER) gimpres.o -lgdi32 -luser32 -lshell32 $(CC) $(CFLAGS) -Wl,--base-file,gimp.base,gimp.exp -o gimp.exe $(gimp_OBJECTS) -L . -lgimpim -L ../libgimp -lgimpi -L $(GTK)/gtk -lgtk-$(GTK_VER) -L $(GTK)/gdk -lgdk-$(GTK_VER) -L $(INTL) -lgnu-intl -L $(GLIB) -lglib-$(GLIB_VER) -L $(GMODULE) -lgmodule-$(GLIB_VER) gimpres.o -lgdi32 -luser32 -lshell32
$(DLLTOOL) --base-file gimp.base --input-def gimp.def --output-exp gimp.exp $(DLLTOOL) --base-file gimp.base --input-def gimp.def --output-exp gimp.exp
$(CC) $(CFLAGS) -Wl,gimp.exp -o gimp.exe $(gimp_OBJECTS) -L. -lgimpim -L ../libgimp -lgimpi -L $(GTK)/gtk -lgtk-$(GTK_VER) -L $(GTK)/gdk -lgdk-$(GTK_VER) -L $(INTL) -lgnu-intl -L $(GLIB) -lglib-$(GLIB_VER) -lgmodule-$(GLIB_VER) gimpres.o -lgdi32 -luser32 -lshell32 $(CC) $(CFLAGS) -Wl,gimp.exp -o gimp.exe $(gimp_OBJECTS) -L. -lgimpim -L ../libgimp -lgimpi -L $(GTK)/gtk -lgtk-$(GTK_VER) -L $(GTK)/gdk -lgdk-$(GTK_VER) -L $(INTL) -lgnu-intl -L $(GLIB) -lglib-$(GLIB_VER) -L $(GMODULE) -lgmodule-$(GLIB_VER) gimpres.o -lgdi32 -luser32 -lshell32
$(DLLTOOL) --dllname gimp.exe gimp.def --output-lib libgimp.a $(gimp_OBJECTS) $(DLLTOOL) --dllname gimp.exe gimp.def --output-lib libgimp.a $(gimp_OBJECTS)
.SUFFIXES: .c .o .i .SUFFIXES: .c .o .i
......
...@@ -37,8 +37,6 @@ INTL = ..\..\intl ...@@ -37,8 +37,6 @@ INTL = ..\..\intl
CFLAGS = -DREGEX_MALLOC -DHAVE_CONFIG_H -I. -I.. -I$(GLIB) -I$(GMODULE) -I$(GTK)\gdk -I$(GTK)\gdk -I$(GTK) -I$(INTL) CFLAGS = -DREGEX_MALLOC -DHAVE_CONFIG_H -I. -I.. -I$(GLIB) -I$(GMODULE) -I$(GTK)\gdk -I$(GTK)\gdk -I$(GTK) -I$(INTL)
# GCG = ..\tools\gcg\gcg -I. -I ..\tools\gcg\gh
all : \ all : \
..\config.h \ ..\config.h \
gimpim.lib \ gimpim.lib \
...@@ -258,11 +256,6 @@ gimp_OBJECTS = \ ...@@ -258,11 +256,6 @@ gimp_OBJECTS = \
user_install.obj \ user_install.obj \
xcf.obj xcf.obj
# .SUFFIXES: .gc
# .gc.c:
# $(GCG) -o $@ $<
gimp.res : gimp.rc wilber.ico gimp.res : gimp.rc wilber.ico
rc -r -fo gimp.res gimp.rc rc -r -fo gimp.res gimp.rc
......
...@@ -21,25 +21,30 @@ ...@@ -21,25 +21,30 @@
(gimp_plugin_dir "${gimp_install_dir}") (gimp_plugin_dir "${gimp_install_dir}")
# Set the temporary storage directory...files will appear here # Set the temporary storage directory...files will appear here
# during the course of running the gimp. Most files will disappear # during the course of running the gimp. Most files will disappear
# when the gimp exits, but some files are likely to remain, # when the gimp exits, but some files are likely to remain,
# such as working palette files, so it is best if this directory # such as working palette files, so it is best if this directory
# not be one that is shared by other users. # not be one that is shared by other users or is cleared on machine
# reboot such as /tmp.
(temp-path "${TEMP}") (temp-path "${TEMP}")
# Set the swap file location. The gimp uses a tile based memory # Set the swap file location. The gimp uses a tile based memory
# allocation scheme. The swap file is used to quickly and easily # allocation scheme. The swap file is used to quickly and easily
# swap files out to disk and back in. Be aware that the swap file # swap files out to disk and back in. Be aware that the swap file
# can easily get very large if the gimp is used with large images. # can easily get very large if the gimp is used with large images.
# Also, things can get horribly slow if the swap file is created on # Also, things can get horribly slow if the swap file is created on
# a directory that is shared over a network. For these reasons, it may # a directory that is mounted over NFS. For these reasons, it may
# be desirable to put your swap file in your %TEMP% directory. # be desirable to put your swap file in "/tmp".
(swap-path "${TEMP}") (swap-path "${TEMP}")
# Set the brush search path...this path will be searched for valid # Set the brush search path...this path will be searched for valid
# brushes at startup. # brushes at startup.
(brush-path "${gimp_dir}\\brushes;${gimp_data_dir}\\brushes") (brush-path "${gimp_dir}\\brushes;${gimp_data_dir}\\brushes")
# Set the generated brush search path...this path will be searched for valid
# generated brushes at startup.
(brush-vbr-path "${gimp_dir}\\generated_brushes")
# Specify a default brush. If none is specified it defaults to the # Specify a default brush. If none is specified it defaults to the
# "1circle.gbr" brush which is just a single pixel sized brush. # "1circle.gbr" brush which is just a single pixel sized brush.
# The brush is searched for in the brush path. # The brush is searched for in the brush path.
...@@ -55,7 +60,7 @@ ...@@ -55,7 +60,7 @@
# Set the palette search path...this path will be searched for valid # Set the palette search path...this path will be searched for valid
# palettes at startup. # palettes at startup.
(palette-path "${gimp_dir}\\palettes;${gimp_data_dir}\\palettes") (palette-path "${gimp_dir}\\palettes")
# Specify a default palette. # Specify a default palette.
# The pattern is searched for in the specified pattern paths. # The pattern is searched for in the specified pattern paths.
...@@ -71,7 +76,7 @@ ...@@ -71,7 +76,7 @@
# Set the plug-in search path...this path will be searched for # Set the plug-in search path...this path will be searched for
# plug-ins when the plug-in is run. # plug-ins when the plug-in is run.
(plug-in-path "${gimp_dir}\\plug-ins;${gimp_dir}\\plug-ins\\script-fu;${gimp_plugin_dir}\\plug-ins") (plug-in-path "${gimp_dir}\\plug-ins;${gimp_plugin_dir}\\plug-ins")
# Set the path for the script-fu plug-in. This value is ignored by # Set the path for the script-fu plug-in. This value is ignored by
# the GIMP if the script-fu plug-in is never run. # the GIMP if the script-fu plug-in is never run.
...@@ -81,17 +86,17 @@ ...@@ -81,17 +86,17 @@
(module-path "${gimp_dir}\\modules;${gimp_plugin_dir}\\modules") (module-path "${gimp_dir}\\modules;${gimp_plugin_dir}\\modules")
# The tile cache is used to make sure the gimp doesn't thrash # The tile cache is used to make sure the gimp doesn't thrash
# tiles between memory and disk. Setting this value higher will # tiles between memory and disk. Setting this value higher will
# cause the gimp to use less swap space, but will also cause # cause the gimp to use less swap space, but will also cause
# the gimp to use more memory. Conversely, a smaller cache size # the gimp to use more memory. Conversely, a smaller cache size
# causes the gimp to use more swap space and less memory. # causes the gimp to use more swap space and less memory.
# Note: the gimp will still run even if `tile-cache-size' is # Note: the gimp will still run even if `tile-cache-size' is
# set to 0. The actual size can contain a suffix of 'm', 'M', # set to 0. The actual size can contain a suffix of 'm', 'M',
# 'k', 'K', 'b' or 'B', which makes the gimp interpret the # 'k', 'K', 'b' or 'B', which makes the gimp interpret the
# size as being specified in megabytes, kilobytes and bytes # size as being specified in megabytes, kilobytes and bytes
# respectively. If no suffix is specified the size defaults to # respectively. If no suffix is specified the size defaults to
# being specified in kilobytes. # being specified in kilobytes.
(tile-cache-size 10m) (tile-cache-size 32m)
# Speed of marching ants in the selection outline # Speed of marching ants in the selection outline
# this value is in milliseconds # this value is in milliseconds
...@@ -101,17 +106,22 @@ ...@@ -101,17 +106,22 @@
# Set the number of operations kept on the undo stack # Set the number of operations kept on the undo stack
(undo-levels 5) (undo-levels 5)
# Set the color-cube resource for dithering on 8-bit displays # Set the minimal number of colors for dithering on 8-bit displays.
# The 4 values stand for Shades of red, green, blue and grays # If the GIMP cannot allocate at least this number of colors, a
# private colormap will be allocated, resulting in colormap "flashing".
# The default value of 144 corresponds to a "color cube" of 6*6*4 colors
# where the 3 values stand for shades of red, green and blue.
# Multiplying the # of shades of each primary color yields # Multiplying the # of shades of each primary color yields
# the total number of colors that will be allocated from the # the total number of colors that will be allocated for the
# gimp colormap. This number should not exceed 256. Most of the # GIMP colormap.
# colors remaining after the allocation of the colorcube # This number must not exceed 256. Most of the colors remaining after
# will be left to the system palette in an effort to reduce # the allocation of the colorcube will be left to the system palette
# colormap "flashing". # in an effort to reduce colormap "flashing".
# Note that setting this value to something higher than 216 (6*6*6)
# will not work with Gtk versions lower than 1.2.8.
(min-colors 144) (min-colors 144)
# Install a GIMP colormap by default -- only for 8-bit displays # Install a private GIMP colormap by default -- only for 8-bit displays
# (install-colormap) # (install-colormap)
# Specify that marching ants for selected regions will be drawn # Specify that marching ants for selected regions will be drawn
...@@ -140,24 +150,44 @@ ...@@ -140,24 +150,44 @@
# Uncomment this line to disable them. # Uncomment this line to disable them.
# (no-cursor-updating) # (no-cursor-updating)
# Layer preview sizes: # Layer preview sizes (also used for the Undo History):
# none: no previews in layers dialog/layer selector # none: no previews in layers dialog/layer selector
# tiny: 24x24
# small: 32x32 # small: 32x32
# medium: 64x64 # medium: 48x48
# large: 128x128 # large: 64x64
# #: #x# # huge: 128x128
# #: #x#
(preview-size small) (preview-size small)
# Navigation window preview sizes:
# small: 48x48
# medium: 80x80
# large: 112x112
# #: #x#
(nav-preview-size large)
# Tooltips # Tooltips
# Comment this out to disable the tooltips in the toolbox # Comment this out to disable the tooltips in the toolbox
# (dont-show-tool-tips) # (dont-show-tool-tips)
# Help System
# Comment this out to disable context-sensitive help with F1 key
# (dont-use-help)
# Controlling ruler visibility # Controlling ruler visibility
# The default behavior is for rulers to be ON. # The default behavior is for rulers to be ON.
# This can also be toggled with the View->Toggle Rulers command # This can also be toggled with the View->Toggle Rulers command
# or shift+control+r # or shift+control+r
# (dont-show-rulers) # (dont-show-rulers)
# Controlling statusbar visibility
# The default behavior is to show the statusbar.
# This can also be toggled with the View->Toggle Statusbar command
# or shift+control+s
# (dont-show-statusbar)
# Default units # Default units
# This is the default unit of a new image. It will appear in the # This is the default unit of a new image. It will appear in the
# File/New dialog and will be the unit for coordinate display when # File/New dialog and will be the unit for coordinate display when
...@@ -180,12 +210,6 @@ ...@@ -180,12 +210,6 @@
(default-xresolution 72.0) (default-xresolution 72.0)
(default-yresolution 72.0) (default-yresolution 72.0)
# Controlling statusbar visibility
# The default behavior is to show the statusbar.
# This can also be toggled with the View->Toggle Statusbar command
# or shift+control+s
# (dont-show-statusbar)
# Disable auto saving # Disable auto saving
# Auto saving is not yet implemented! Nothing will be auto-saved, no matter # Auto saving is not yet implemented! Nothing will be auto-saved, no matter
# how you set this here. # how you set this here.
...@@ -201,13 +225,15 @@ ...@@ -201,13 +225,15 @@
# use the GIMP. To disable this behaviour, uncomment the line below... # use the GIMP. To disable this behaviour, uncomment the line below...
# (dont-save-session-info) # (dont-save-session-info)
# To let GIMP try to restore your last saved session, # Session managment
# uncomment the line below... # To let GIMP try to restore your last saved session,
# (always-restore-session) # just uncomment the line below...
(always-restore-session)
# Setting the level of interpolation # Setting the level of interpolation
# Uncommenting this line will enable cubic interpolation. # Uncommenting this line will enable cubic interpolation.
# By default, GIMP uses linear interpolation, which is faster, but has poorer quality # By default, GIMP uses linear interpolation, which is faster, but
# has poorer quality
# (cubic-interpolation) # (cubic-interpolation)
# Set the gamma correction values for the display # Set the gamma correction values for the display
...@@ -224,7 +250,7 @@ ...@@ -224,7 +250,7 @@
# by removing this line, or setting the values to 1.0. # by removing this line, or setting the values to 1.0.
# gamma-correction 1.0 # gamma-correction 1.0
# gamma-correction 2.0 # gamma-correction 2.0
# ___ #
(gamma-correction 1.0) (gamma-correction 1.0)
# Set the manner in which transparency is displayed in images # Set the manner in which transparency is displayed in images
...@@ -242,13 +268,10 @@ ...@@ -242,13 +268,10 @@
(transparency-type 1) (transparency-type 1)
(transparency-size 2) (transparency-size 2)
# gfig pattern directory
(gfig-path "${gimp_dir}\\gfig;${gimp_data_dir}\\gfig")
# This string sets how image window titles are formatted. # This string sets how image window titles are formatted.
# The following percent expansions are performed: # The following percent expansions are performed:
# %% literal percent sign # %% literal percent sign
# %f bare filename, or "Untiltled" # %f bare filename, or "Untitled"
# %F full path to file # %F full path to file
# %p PDB image id # %p PDB image id
# %i view instance number # %i view instance number
...@@ -256,7 +279,9 @@ ...@@ -256,7 +279,9 @@
# %z zoom factor as a percentage # %z zoom factor as a percentage
# %s source scale factor # %s source scale factor
# %d destination scale factor # %d destination scale factor
(image-title-format "%f-%p.%i (%t) %z%%") # %Dx expands to x if the image is dirty
# See gimprc(5) for further details.
(image-title-format "%D*%f-%p.%i (%t) %z%%")
# Global paint options # Global paint options
# By default options for the paint tools are local, e.g. all paint tools # By default options for the paint tools are local, e.g. all paint tools
...@@ -294,17 +319,21 @@ ...@@ -294,17 +319,21 @@
# the help pages using your default web browser. # the help pages using your default web browser.
(help-browser netscape) (help-browser netscape)
# Gfig search path
# This path will be searched for Gfig figures when you use the Gfig plug-in.
(gfig-path "${gimp_dir}\\gfig;${gimp_data_dir}\\gfig")
# Fractalexplorer path # Fractalexplorer path
# This path will be searched for fractals when you use the Fractalexplorer # This path will be searched for fractals when you use the Fractalexplorer
# plug-in. # plug-in.
(fractalexplorer-path "${gimp_dir}\\fractalexplorer;${gimp_data_dir}\\fractalexplorer") (fractalexplorer-path "${gimp_dir}\\fractalexplorer;${gimp_data_dir}\\fractalexplorer")
# Gfig search path
# This path will be searched for Gfig figures when you use the Gfig plug-in.
(gfig-path "${gimp_dir}\\gfig;${gimp_data_dir}\\gfig")
# GFlare path # GFlare path
# This path will be searched for gflares when you use the GFlare plug-in. # This path will be searched for gflares when you use the GFlare plug-in.
(gflare-path "${gimp_dir}\\gflare;${gimp_data_dir}\\gflare") (gflare-path "${gimp_dir}\\gflare;${gimp_data_dir}\\gflare")
# Gimpressionist path
# This path will be searched for data when you use the Gimpressionist plug-in.
(gimpressionist-path "${gimp_dir}\\gimpressionist;${gimp_data_dir}\\gimpressionist")
# [end of file] # [end of file]
...@@ -21,25 +21,30 @@ ...@@ -21,25 +21,30 @@
(gimp_plugin_dir "${gimp_install_dir}") (gimp_plugin_dir "${gimp_install_dir}")
# Set the temporary storage directory...files will appear here # Set the temporary storage directory...files will appear here
# during the course of running the gimp. Most files will disappear # during the course of running the gimp. Most files will disappear
# when the gimp exits, but some files are likely to remain, # when the gimp exits, but some files are likely to remain,
# such as working palette files, so it is best if this directory # such as working palette files, so it is best if this directory
# not be one that is shared by other users. # not be one that is shared by other users or is cleared on machine
# reboot such as /tmp.
(temp-path "${TEMP}") (temp-path "${TEMP}")
# Set the swap file location. The gimp uses a tile based memory # Set the swap file location. The gimp uses a tile based memory
# allocation scheme. The swap file is used to quickly and easily # allocation scheme. The swap file is used to quickly and easily
# swap files out to disk and back in. Be aware that the swap file # swap files out to disk and back in. Be aware that the swap file
# can easily get very large if the gimp is used with large images. # can easily get very large if the gimp is used with large images.
# Also, things can get horribly slow if the swap file is created on # Also, things can get horribly slow if the swap file is created on
# a directory that is shared over a network. For these reasons, it may # a directory that is mounted over NFS. For these reasons, it may
# be desirable to put your swap file in your %TEMP% directory. # be desirable to put your swap file in "/tmp".
(swap-path "${TEMP}") (swap-path "${TEMP}")
# Set the brush search path...this path will be searched for valid # Set the brush search path...this path will be searched for valid
# brushes at startup. # brushes at startup.
(brush-path "${gimp_dir}\\brushes;${gimp_data_dir}\\brushes") (brush-path "${gimp_dir}\\brushes;${gimp_data_dir}\\brushes")
# Set the generated brush search path...this path will be searched for valid
# generated brushes at startup.
(brush-vbr-path "${gimp_dir}\\generated_brushes")
# Specify a default brush. If none is specified it defaults to the # Specify a default brush. If none is specified it defaults to the
# "1circle.gbr" brush which is just a single pixel sized brush. # "1circle.gbr" brush which is just a single pixel sized brush.
# The brush is searched for in the brush path. # The brush is searched for in the brush path.
...@@ -55,7 +60,7 @@ ...@@ -55,7 +60,7 @@
# Set the palette search path...this path will be searched for valid # Set the palette search path...this path will be searched for valid
# palettes at startup. # palettes at startup.
(palette-path "${gimp_dir}\\palettes;${gimp_data_dir}\\palettes") (palette-path "${gimp_dir}\\palettes")
# Specify a default palette. # Specify a default palette.
# The pattern is searched for in the specified pattern paths. # The pattern is searched for in the specified pattern paths.
...@@ -71,7 +76,7 @@ ...@@ -71,7 +76,7 @@
# Set the plug-in search path...this path will be searched for # Set the plug-in search path...this path will be searched for
# plug-ins when the plug-in is run. # plug-ins when the plug-in is run.
(plug-in-path "${gimp_dir}\\plug-ins;${gimp_dir}\\plug-ins\\script-fu;${gimp_plugin_dir}\\plug-ins") (plug-in-path "${gimp_dir}\\plug-ins;${gimp_plugin_dir}\\plug-ins")
# Set the path for the script-fu plug-in. This value is ignored by # Set the path for the script-fu plug-in. This value is ignored by
# the GIMP if the script-fu plug-in is never run. # the GIMP if the script-fu plug-in is never run.
...@@ -81,17 +86,17 @@ ...@@ -81,17 +86,17 @@
(module-path "${gimp_dir}\\modules;${gimp_plugin_dir}\\modules") (module-path "${gimp_dir}\\modules;${gimp_plugin_dir}\\modules")
# The tile cache is used to make sure the gimp doesn't thrash # The tile cache is used to make sure the gimp doesn't thrash
# tiles between memory and disk. Setting this value higher will # tiles between memory and disk. Setting this value higher will
# cause the gimp to use less swap space, but will also cause # cause the gimp to use less swap space, but will also cause
# the gimp to use more memory. Conversely, a smaller cache size # the gimp to use more memory. Conversely, a smaller cache size
# causes the gimp to use more swap space and less memory. # causes the gimp to use more swap space and less memory.
# Note: the gimp will still run even if `tile-cache-size' is # Note: the gimp will still run even if `tile-cache-size' is
# set to 0. The actual size can contain a suffix of 'm', 'M', # set to 0. The actual size can contain a suffix of 'm', 'M',
# 'k', 'K', 'b' or 'B', which makes the gimp interpret the # 'k', 'K', 'b' or 'B', which makes the gimp interpret the
# size as being specified in megabytes, kilobytes and bytes # size as being specified in megabytes, kilobytes and bytes
# respectively. If no suffix is specified the size defaults to # respectively. If no suffix is specified the size defaults to
# being specified in kilobytes. # being specified in kilobytes.
(tile-cache-size 10m) (tile-cache-size 32m)
# Speed of marching ants in the selection outline # Speed of marching ants in the selection outline
# this value is in milliseconds # this value is in milliseconds
...@@ -101,17 +106,22 @@ ...@@ -101,17 +106,22 @@
# Set the number of operations kept on the undo stack # Set the number of operations kept on the undo stack
(undo-levels 5) (undo-levels 5)
# Set the color-cube resource for dithering on 8-bit displays # Set the minimal number of colors for dithering on 8-bit displays.
# The 4 values stand for Shades of red, green, blue and grays # If the GIMP cannot allocate at least this number of colors, a
# private colormap will be allocated, resulting in colormap "flashing".
# The default value of 144 corresponds to a "color cube" of 6*6*4 colors
# where the 3 values stand for shades of red, green and blue.
# Multiplying the # of shades of each primary color yields # Multiplying the # of shades of each primary color yields
# the total number of colors that will be allocated from the # the total number of colors that will be allocated for the
# gimp colormap. This number should not exceed 256. Most of the # GIMP colormap.
# colors remaining after the allocation of the colorcube # This number must not exceed 256. Most of the colors remaining after
# will be left to the system palette in an effort to reduce # the allocation of the colorcube will be left to the system palette
# colormap "flashing". # in an effort to reduce colormap "flashing".
# Note that setting this value to something higher than 216 (6*6*6)
# will not work with Gtk versions lower than 1.2.8.
(min-colors 144) (min-colors 144)
# Install a GIMP colormap by default -- only for 8-bit displays # Install a private GIMP colormap by default -- only for 8-bit displays
# (install-colormap) # (install-colormap)
# Specify that marching ants for selected regions will be drawn # Specify that marching ants for selected regions will be drawn
...@@ -140,24 +150,44 @@ ...@@ -140,24 +150,44 @@
# Uncomment this line to disable them. # Uncomment this line to disable them.
# (no-cursor-updating) # (no-cursor-updating)
# Layer preview sizes: # Layer preview sizes (also used for the Undo History):
# none: no previews in layers dialog/layer selector # none: no previews in layers dialog/layer selector
# tiny: 24x24
# small: 32x32 # small: 32x32
# medium: 64x64 # medium: 48x48
# large: 128x128 # large: 64x64
# #: #x# # huge: 128x128
# #: #x#
(preview-size small) (preview-size small)
# Navigation window preview sizes:
# small: 48x48
# medium: 80x80
# large: 112x112
# #: #x#
(nav-preview-size large)
# Tooltips # Tooltips
# Comment this out to disable the tooltips in the toolbox # Comment this out to disable the tooltips in the toolbox
# (dont-show-tool-tips) # (dont-show-tool-tips)
# Help Syst