CVS sucks

This commit is contained in:
Sven Neumann 2002-12-29 19:02:05 +00:00
parent 023c76978f
commit f5c1b364b1
8 changed files with 405 additions and 373 deletions

View File

@ -32,6 +32,7 @@
#include "widgets-types.h"
#include "config/gimpconfig-params.h"
#include "config/gimpconfig-path.h"
#include "gimpcolorpanel.h"
#include "gimpenummenu.h"
@ -841,6 +842,7 @@ gimp_prop_file_entry_new (GObject *config,
{
GParamSpec *param_spec;
GtkWidget *entry;
gchar *filename;
gchar *value;
param_spec = check_param_spec (config, property_name,
@ -852,9 +854,13 @@ gimp_prop_file_entry_new (GObject *config,
property_name, &value,
NULL);
entry = gimp_file_selection_new (filesel_title, value, dir_only, check_valid);
filename = value ? gimp_config_path_expand (value, FALSE, NULL) : NULL;
entry = gimp_file_selection_new (filesel_title,
filename, dir_only, check_valid);
g_free (value);
g_free (filename);
set_param_spec (G_OBJECT (entry), param_spec);
@ -932,6 +938,7 @@ gimp_prop_path_editor_new (GObject *config,
GParamSpec *param_spec;
GtkWidget *editor;
gchar *value;
gchar *filename;
param_spec = check_param_spec (config, property_name,
GIMP_TYPE_PARAM_PATH, G_STRLOC);
@ -942,8 +949,11 @@ gimp_prop_path_editor_new (GObject *config,
property_name, &value,
NULL);
editor = gimp_path_editor_new (filesel_title, value);
filename = value ? gimp_config_path_expand (value, FALSE, NULL) : NULL;
editor = gimp_path_editor_new (filesel_title, filename);
g_free (filename);
g_free (value);
set_param_spec (G_OBJECT (editor), param_spec);

View File

@ -3,8 +3,8 @@
# Script to perform the default installation steps for the
# specified user home directory.
#
# 1) Create ~/.gimp-1.2 if it doesn't exist
# 2) Copy system gimprc file to ~/.gimp-1.2
# 1) Create ~/.gimp-1.3 if it doesn't exist
# 2) Copy system gimprc file to ~/.gimp-1.3
# 3) Create brushes, gradients, palettes, patterns, plug-ins subdirs
# 4) Create the tmp subdirectory for disk-swapping undo buffers
#
@ -12,9 +12,6 @@
echo "mkdir $2"
mkdir $2
echo "cp $3/gimprc_user $2/gimprc"
cp $3/gimprc_user $2/gimprc
echo "cp $3/unitrc $2/unitrc"
cp $3/unitrc $2/unitrc

View File

@ -1,4 +1,2 @@
Makefile
Makefile.in
gimprc
gimprc_user

View File

@ -2,14 +2,11 @@
gimpsysconf_DATA = \
gimprc \
gimprc_user \
gtkrc_user \
unitrc \
ps-menurc
EXTRA_DIST = \
gimprc.in \
gimprc_user.in \
gimprc.win32 \
gtkrc_user \
unitrc \

379
etc/gimprc Normal file
View File

@ -0,0 +1,379 @@
# This is the system-wide gimprc file. Any change made in this file
# will affect all users of this system, provided that they are not
# overriding the default values in their personal gimprc file.
#
# Lines that start with a '#' are comments. Blank lines are ignored.
#
# By default everything in this file is commented out. The file then
# documents the default values and shows what changes are possible.
# The variable gimp_dir is set to either the internal value
# @gimpdir@ or the environment variable GIMP_DIRECTORY. If
# the path in GIMP_DIRECTORY is relative, it is considered
# relative to your home directory.
# Set the temporary storage directory. Files will appear here during the
# course of running the gimp. Most files will disappear when the gimp exits,
# but some files are likely to remain, such as working palette files, so it is
# best if this directory not be one that is shared by other users or is
# cleared on machine reboot such as /tmp. This is a colon-separated list of
# directories to search.
#
# (temp-path "${gimp_dir}/tmp")
# Set the swap file location. The gimp uses a tile based memory allocation
# scheme. The swap file is used to quickly and easily swap tiles 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. Also, things can get horribly slow if the
# swap file is created on a directory that is mounted over NFS. For these
# reasons, it may be desirable to put your swap file in "/tmp". This is a
# colon-separated list of directories to search.
#
# (swap-path "${gimp_dir}")
# There is always a tradeoff between memory usage and speed. In most cases,
# the GIMP opts for speed over memory. However, if memory is a big issue, set
# stingy-memory-use. Possible values are yes and no.
#
# (stingy-memory-use no)
# On multiprocessor machines, if GIMP has been compiled with --enable-mp this
# sets how many processors GIMP should use simultaneously. This is an integer
# value.
#
# (num-processors 1)
# The tile cache is used to make sure the gimp doesn't thrash tiles between
# memory and disk. Setting this value higher will cause the gimp to use less
# swap space, but will also cause the gimp to use more memory. Conversely, a
# smaller cache size causes the gimp to use more swap space and less memory.
# The integer size can contain a suffix of 'B', 'K', 'M' or 'G' which makes
# GIMP interpret the size as being specified in bytes, kilobytes, megabytes or
# gigabytes. If no suffix is specified the size defaults to being specified in
# kilobytes.
#
# (tile-cache-size 32M)
# Set the level of interpolation used for scaling and other transformations.
# Possible values are none, linear and cubic.
#
# (interpolation-type linear)
# Set the plug-in search path. This is a colon-separated list of directories
# to search.
#
# (plug-in-path "${gimp_dir}/plug-ins:${gimp_plug_in_dir}/plug-ins")
# tool-plug-in-path This is a colon-separated list of directories to search.
#
# (tool-plug-in-path "${gimp_dir}/tool-plug-ins:${gimp_plug_in_dir}/tool-plug-ins")
# Set the module search path. This is a colon-separated list of directories
# to search.
#
# (module-path "${gimp_dir}/modules:${gimp_plug_in_dir}/modules")
# environ-path This is a colon-separated list of directories to search.
#
# (environ-path "${gimp_dir}/environ:${gimp_plug_in_dir}/environ")
# Set the brush search path. This is a colon-separated list of directories to
# search.
#
# (brush-path "${gimp_dir}/brushes:${gimp_data_dir}/brushes")
# Set the pattern search path. This is a colon-separated list of directories
# to search.
#
# (pattern-path "${gimp_dir}/patterns:${gimp_data_dir}/patterns")
# Set the palette search path. This is a colon-separated list of directories
# to search.
#
# (palette-path "${gimp_dir}/palettes:${gimp_data_dir}/palettes")
# Set the gradient search path. This is a colon-separated list of directories
# to search.
#
# (gradient-path "${gimp_dir}/gradients:${gimp_data_dir}/gradients")
# default-comment This is a string value.
#
# (default-comment "Created with The GIMP")
# Set the default image type in the File/New dialog. Possible values are rgb,
# gray and indexed.
#
# (default-image-type rgb)
# Set the default image width in the File/New dialog. This is an integer
# value.
#
# (default-image-width 256)
# Set the default image height in the File/New dialog. This is an integer
# value.
#
# (default-image-height 256)
# Set the default unit for new images and for the File/New dialog. This units
# will be used for coordinate display when not in dot-for-dot mode. The unit
# can be one inches, millimeters, points or picas plus those in your user
# units database.
#
# (default-unit inches)
# Set the default horizontal resolution for new images and for the File/New
# dialog. This value is always in dpi (dots per inch). This is a float value.
#
# (default-xresolution 72.000000)
# Set the default vertical resolution for new images and for the File/New
# dialog. This value is always in dpi (dots per inch). This is a float value.
#
# (default-yresolution 72.000000)
# Set the units for the display of the default resolution in the File/New
# dialog. The unit can be one inches, millimeters, points or picas plus those
# in your user units database.
#
# (default-resolution-unit inches)
# Set the number of operations kept on the undo stack. This is an integer
# value.
#
# (undo-levels 5)
# pluginrc-path This is a colon-separated list of directories to search.
#
# (pluginrc-path "${gimp_dir}/pluginrc")
# Set the default preview size. Possible values are none, tiny, extra-small,
# small, medium, large, extra-large, huge, enormous and gigantic.
#
# (preview-size small)
# thumbnail-size Possible values are none, normal and large.
#
# (thumbnail-size normal)
# This setting is ignored. This is a float value.
#
# (gamma-correction 1.000000)
# Install a private colormap; might be useful on pseudocolor visuals.
# Possible values are yes and no.
#
# (install-colormap no)
# min-colors This is an integer value.
#
# (min-colors 144)
# Speed of marching ants in the selection outline. This value is in
# milliseconds (less time indicates faster marching). This is an integer
# value.
#
# (marching-ants-speed 300)
# Specify that marching ants for selected regions will be drawn with colormap
# cycling as oposed to redrawing with different stipple masks. This color
# cycling option works only with 8-bit displays. Possible values are yes and
# no.
#
# (colormap-cycling no)
# When zooming into and out of images, this option enables the automatic
# resizing of windows. Possible values are yes and no.
#
# (resize-windows-on-zoom no)
# When the physical image size changes, this option enables the automatic
# resizing of windows. Possible values are yes and no.
#
# (resize-windows-on-resize no)
# default-dot-for-dot Possible values are yes and no.
#
# (default-dot-for-dot yes)
# If set to true, the X server is queried for the mouse's current position on
# each motion event, rather than relying on the position hint. This means
# painting with large brushes should be more accurate, but it may be slower.
# Perversely, on some X servers turning on this option results in faster
# painting. Possible values are yes and no.
#
# (perfect-mouse no)
# cursor-mode Possible values are tool-icon, tool-crosshair and crosshair.
#
# (cursor-mode tool-icon)
# Context-dependent cursors are cool. They are enabled by default. However,
# they require overhead that you may want to do without. Possible values are
# yes and no.
#
# (cursor-updating yes)
# Set the text to appear in image window titles. Certain % character
# sequences are recognised and expanded as follows:
#
# %% literal percent sign
# %f bare filename, or "Untitled"
# %F full path to file, or "Untitled"
# %p PDB image id
# %i view instance number
# %t image type (RGB, grayscale, indexed)
# %z zoom factor as a percentage
# %s source scale factor
# %d destination scale factor
# %Dx expands to x if the image is dirty, the empty string otherwise
# %Cx expands to x if the image is clean, the empty string otherwise
# %m memory used by the image
# %l the number of layers
# %L the name of the active layer/channel
# %w image width in pixels
# %W image width in real-world units
# %h image height in pixels
# %H image height in real-world units
# %u unit symbol
# %U unit abbreviation
#
# This is a string value.
#
# (image-title-format "%f-%p.%i (%t)")
# Set the text to appear in image window status bars. See image-title-format
# for the list of possible % sequences. This is a string value.
#
# (image-status-format "%f-%p.%i (%t)")
# Set the menubar visibility. This can also be toggled with the View->Toggle
# Menubar command. Possible values are yes and no.
#
# (show-menubar no)
# Set the ruler visibility. This can also be toggled with the View->Toggle
# Rulers command. Possible values are yes and no.
#
# (show-rulers yes)
# Controlling statusbar visibility. This can also be toggled with the
# View->Toggle Statusbar command. Possible values are yes and no.
#
# (show-statusbar yes)
# Ask for confirmation before closing an image without saving. Possible
# values are yes and no.
#
# (confirm-on-close yes)
# Set the monitor's horizontal resolution, in dots per inch. If set to 0,
# forces the X server to be queried for both horizontal and vertical
# resolution information. This is a float value.
#
# (monitor-xresolution 72.000000)
# Set the monitor's vertical resolution, in dots per inch. If set to 0,
# forces the X server to be queried for both horizontal and vertical
# resolution information. This is a float value.
#
# (monitor-yresolution 72.000000)
# monitor-resolution-from-windowing-system Possible values are yes and no.
#
# (monitor-resolution-from-windowing-system yes)
# navigation-preview-size Possible values are none, tiny, extra-small, small,
# medium, large, extra-large, huge, enormous and gigantic.
#
# (navigation-preview-size medium)
# canvas-padding-mode Possible values are default, light-check, dark-check
# and custom.
#
# (canvas-padding-mode default)
# canvas-padding-color The color is specified in the form (color-rgba red
# green blue alpha) with channel values as floats between 0.0 and 1.0.
#
# (canvas-padding-color (color-rgba 1.000000 1.000000 1.000000 1.000000))
# Sets the size of the checkerboard used to display transparency. Possible
# values are small-checks, medium-checks and large-checks.
#
# (transparency-size medium-checks)
# Set the manner in which transparency is displayed in images. Possible
# values are light-checks, gray-checks, dark-checks, white-only, gray-only and
# black-only.
#
# (transparency-type gray-checks)
# Tools such as fuzzy-select and bucket fill find regions based on a seed-fill
# algorithm. The seed fill starts at the intially selected pixel and
# progresses in all directions until the difference of pixel intensity from
# the original is greater than a specified threshold. This value represents
# the default threshold. This is an integer value.
#
# (default-threshold 15)
# info-window-per-display Possible values are yes and no.
#
# (info-window-per-display no)
# trust-dirty-flag Possible values are yes and no.
#
# (trust-dirty-flag no)
# Remember the current tool, pattern, color, and brush across GIMP sessions.
# Possible values are yes and no.
#
# (save-device-status no)
# Remember the positions and sizes of the main dialogs and asks your
# window-manager to place them there again the next time you use the GIMP.
# Possible values are yes and no.
#
# (save-session-info yes)
# restore-session Possible values are yes and no.
#
# (restore-session yes)
# Set to display a handy GIMP tip on startup. Possible values are yes and no.
#
# (show-tips yes)
# Set to display tooltips. Possible values are yes and no.
#
# (show-tool-tips yes)
# tearoff-menus Possible values are yes and no.
#
# (tearoff-menus yes)
# How many recently opened image filenames to keep on the File menu. This is
# an integer value.
#
# (last-opened-size 4)
# max-new-image-size The integer size can contain a suffix of 'B', 'K', 'M'
# or 'G' which makes GIMP interpret the size as being specified in bytes,
# kilobytes, megabytes or gigabytes. If no suffix is specified the size
# defaults to being specified in kilobytes.
#
# (max-new-image-size 32M)
# theme-path This is a colon-separated list of directories to search.
#
# (theme-path "${gimp_dir}/themes:${gimp_data_dir}/themes")
# use-help Possible values are yes and no.
#
# (use-help yes)
# help-browser Possible values are gimp and netscape.
#
# (help-browser gimp)

View File

@ -1,345 +0,0 @@
# This is the system-wide gimprc file. Any change made in this file
# will affect all users of this system, provided that they are not
# overriding the default values in their personal gimprc file.
#
# Lines that start with a '#' are comments.
# Blank lines are ignored.
# The variable gimp_dir is set to either the interned value
# @gimpdir@ or the environment variable GIMP_DIRECTORY. If
# the path in GIMP_DIRECTORY is relative, it is considered
# relative to your home directory.
(prefix "@prefix@")
(exec_prefix "@exec_prefix@")
(gimp_data_dir "@gimpdatadir@")
(gimp_plugin_dir "@gimpplugindir@")
# Set the temporary storage directory...files will appear here
# during the course of running the gimp. Most files will disappear
# when the gimp exits, but some files are likely to remain,
# such as working palette files, so it is best if this directory
# not be one that is shared by other users or is cleared on machine
# reboot such as /tmp.
(temp-path "${gimp_dir}/tmp")
# Set the swap file location. The gimp uses a tile based memory
# 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
# 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
# a directory that is mounted over NFS. For these reasons, it may
# be desirable to put your swap file in "/tmp".
(swap-path "${gimp_dir}")
# Set the brush search path...this path will be searched for valid
# brushes at startup.
(brush-path "${gimp_dir}/brushes:${gimp_data_dir}/brushes")
# Specify a default brush. If none is specified it defaults to the
# "1circle.gbr" brush which is just a single pixel sized brush.
# The brush is searched for in the brush path.
(default-brush "Circle (19)")
# Set the pattern search path...this path will be searched for valid
# patterns at startup.
(pattern-path "${gimp_dir}/patterns:${gimp_data_dir}/patterns")
# Specify a default pattern.
# The pattern is searched for in the specified pattern paths.
(default-pattern "Pine?")
# Set the palette search path...this path will be searched for valid
# palettes at startup.
(palette-path "${gimp_dir}/palettes:${gimp_data_dir}/palettes")
# Specify a default palette.
# The pattern is searched for in the specified pattern paths.
(default-palette "Default")
# Set the gradient search path...this path will be searched for valid
# gradients at startup.
(gradient-path "${gimp_dir}/gradients:${gimp_data_dir}/gradients")
# Specify a default gradient.
# The gradient is searched for in the specified gradient paths.
(default-gradient "German_flag_smooth")
# Set the plug-in search path...this path will be searched for
# plug-ins when the plug-in is run.
(plug-in-path "${gimp_dir}/plug-ins:${gimp_plugin_dir}/plug-ins")
# Set the tool plug-in search path...this path will be searched for
# tool plug-ins at startup.
(tool-plug-in-path "${gimp_dir}/tool-plug-ins:${gimp_plugin_dir}/tool-plug-ins")
# 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.
(script-fu-path "${gimp_dir}/scripts:${gimp_data_dir}/scripts")
# Set the path to modules that are to be initialized at startup
(module-path "${gimp_dir}/modules:${gimp_plugin_dir}/modules")
# Set the path to files to fill the plug-in environment
(environ-path "${gimp_dir}/environ:${gimp_plugin_dir}/environ")
# Specify a theme for the GUI. If none is specified it defaults to "Default"
(theme "Default")
# Set the theme path.
(theme-path "${gimp_dir}/themes:${gimp_data_dir}/themes")
# The tile cache is used to make sure the gimp doesn't thrash
# tiles between memory and disk. Setting this value higher will
# cause the gimp to use less swap space, but will also cause
# the gimp to use more memory. Conversely, a smaller cache size
# causes the gimp to use more swap space and less memory.
# 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',
# 'k', 'K', 'b' or 'B', which makes the gimp interpret the
# size as being specified in megabytes, kilobytes and bytes
# respectively. If no suffix is specified the size defaults to
# being specified in kilobytes.
(tile-cache-size 32m)
# Speed of marching ants in the selection outline
# this value is in milliseconds
# (less time indicates faster marching)
(marching-ants-speed 300)
# Set the number of operations kept on the undo stack
(undo-levels 5)
# Set the minimal number of colors for dithering on 8-bit displays.
# 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
# the total number of colors that will be allocated for the
# GIMP colormap.
# This number must not exceed 256. Most of the colors remaining after
# the allocation of the colorcube will be left to the system palette
# 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)
# Install a private GIMP colormap by default -- only for 8-bit displays
# (install-colormap)
# Specify that marching ants for selected regions will be drawn
# with colormap cycling as oposed to redrawing with different stipple masks
# this color cycling option works only with 8-bit displays
# (colormap-cycling)
# Tools such as fuzzy-select and bucket fill find regions based on a
# seed-fill algorithm. The seed fill starts at the intially selected
# pixel and progresses in all directions until the difference of pixel
# intensity from the original is greater than a specified threshold
# ==> This value represents the default threshold
(default-threshold 15)
# There is always a tradeoff between memory usage and speed. In most
# cases, the GIMP opts for speed over memory. However, if memory is
# a big issue, set stingy-memory-use
# (stingy-memory-use)
# When zooming into and out of images, this option enables the
# automatic resizing of windows
# (resize-windows-on-zoom)
# When the physical size of the image changes, this option enables the
# automatic resizing of windows
# (resize-windows-on-resize)
# Context-dependent cursors are cool. They are enabled by default.
# However, they require overhead that you may want to do without.
# Uncomment this line to disable them.
# (no-cursor-updating)
# Layer preview size (also used for the Undo History):
# none: no previews in layers dialog/layer selector
# tiny: 16x16
# small: 32x32
# medium: 48x48
# large: 64x64
# huge: 128x128
(preview-size small)
# Navigation window preview size:
(navigation-preview-size medium)
# Tooltips
# Comment this out to disable the tooltips in the toolbox
# (dont-show-tool-tips)
# Help System
# Comment this out to disable context-sensitive help with F1 key
# (dont-use-help)
# Controlling ruler visibility
# The default behavior is for rulers to be ON.
# This can also be toggled with the View->Toggle Rulers command
# or shift+control+r
# (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
# 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
# dot-for-dot is off.
# The default units can be one of:
# (inches millimeters points picas) plus those in your user units database
# The default is inches
(default-unit inches)
# Default Resolution units
# This is used to specify the resolution of a new image
# The units for the resolution can be one of:
# (inches millimeters points picas) plus those in your user units database
# The default is inches
(default-resolution-unit inches)
# Default Resolution
# This is the default resolution of a new image in dpi
# The default is 72.0 dpi in both x and y direction
(default-xresolution 72.0)
(default-yresolution 72.0)
# Disable auto saving
# Auto saving is not yet implemented! Nothing will be auto-saved, no matter
# how you set this here.
# Just uncomment the line below...
# (dont-auto-save)
# Disable confirmation before closing an image without saving
# Just uncomment the next line
# (dont-confirm-on-close)
# By default GIMP remembers the positions and sizes of the main dialogs and
# advices your window-manager to place them there again the next time you
# use the GIMP. To disable this behaviour, uncomment the line below...
# (dont-save-session-info)
# Session managment
# To let GIMP try to restore your last saved session,
# just uncomment the line below...
(restore-session yes)
# Setting the level of interpolation
# Uncommenting this line will enable cubic interpolation.
# By default, GIMP uses linear interpolation, which is faster, but
# has poorer quality
# (cubic-interpolation)
# Set the gamma correction values for the display
# 1.0 corresponds to no gamma correction. For most displays,
# gamma correction should be set to between 2.0 and 2.6
# Run the utility "gamma_correct" to determine appropriate values
# for your display.
#
# One important item to keep in mind: Many images that you might
# get from outside sources will in all likelihood already be
# gamma-corrected. In these cases, the image will look washed-out
# if the gimp has gamma-correction turned on. If you are going
# to work with images of this sort, turn gamma correction off
# by removing this line, or setting the values to 1.0.
# gamma-correction 1.0
# gamma-correction 2.0
#
(gamma-correction 1.0)
# Set the manner in which transparency is displayed in images
(transparency-type gray-checks)
(transparency-size medium-checks)
# This string sets how image window titles are formatted.
# The following percent expansions are performed:
# %% literal percent sign
# %f bare filename, or "Untitled"
# %F full path to file
# %p PDB image id
# %i view instance number
# %t image type (RGB, indexed, greyscale)
# %z zoom factor as a percentage
# %s source scale factor
# %d destination scale factor
# %Dx expands to x if the image is dirty
# %Cx expands to x if the image is clean
# %m memory used by the image
# %l the number of layers
# %L the name of the active layer/channel
# %w image width in pixels
# %W image width in real-world units
# %h image height in pixels
# %H image height in real-world units
# %u unit symbol
# %U unit abbreviation
# See gimprc(5) for further details.
(image-title-format "%D*%f-%p.%i (%t) %z%%")
# This string sets how image window status bars are formatted.
# See image-title-format for the list of performed percent expansions.
(image-status-format "%D*%f-%p.%i (%t) %z%%")
# Global paint options
# By default options for the paint tools are local, e.g. all paint tools
# use the options you specify in their tool options dialog. If you wish
# to have global settings in the brushes dialog that affect all paint tools,
# you can change this by uncommenting the next line.
# (global-paint-options)
# Maximal new image size
# To prevent mistakes Gimp will warn you if you try to create a very large
# image. The default maximum memory consumption of the new image that
# triggers the warning is 32MB.
(max-new-image-size 32M)
# Trust dirty flag
# Gimp tries to keep track of changes to an image. If you trust this
# behaviour, nothing will happen if you save an unchanged image. By default
# this is turned off.
# Just uncomment the following line if you trust the dirty flag.
# (trust-dirty-flag)
# Perfect mouse tracking
# GIMP attempts to keep up with the motion of the pointer when
# painting, but when a painting operation is particularly CPU
# intensive the GIMP will miss the subtlety of your painting
# motion and render overly-angular strokes. Enabling 'perfect
# mouse tracking' allows GIMP to track your painting motion
# more evenly, at the expense of lagging behind your brush at
# times of CPU stress.
(perfect-mouse yes)
# Help browser
# Determines which program to use as browser for the GIMP help pages.
# Possible values are "gimp" which means the built-in help browser
# which comes with GIMP as a plug-in and "netscape" which will show
# the help pages using the "netscape-remote" command.
(help-browser gimp)
# Fractalexplorer path
# This path will be searched for fractals when you use the Fractalexplorer
# plug-in.
(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
# This path will be searched for gflares when you use the GFlare plug-in.
(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]

View File

@ -1,14 +0,0 @@
# This is your personal gimprc file. Any variable defined in this file
# takes precedence over the value defined in the system-wide gimprc:
# @gimpdatadir@/gimprc
# (where ${prefix} is @prefix@)
# Take a look at that file if you want to see some of the options that
# can be set here.
# Most values can be set automatically within the GIMP, if you press
# the "save" button after changing some options in the Preferences
# dialog box. You can also edit this file by hand, and the GIMP will
# always try to do the right thing when saving new options after you
# have edited this file.
(show-tips yes)

View File

@ -32,6 +32,7 @@
#include "widgets-types.h"
#include "config/gimpconfig-params.h"
#include "config/gimpconfig-path.h"
#include "gimpcolorpanel.h"
#include "gimpenummenu.h"
@ -841,6 +842,7 @@ gimp_prop_file_entry_new (GObject *config,
{
GParamSpec *param_spec;
GtkWidget *entry;
gchar *filename;
gchar *value;
param_spec = check_param_spec (config, property_name,
@ -852,9 +854,13 @@ gimp_prop_file_entry_new (GObject *config,
property_name, &value,
NULL);
entry = gimp_file_selection_new (filesel_title, value, dir_only, check_valid);
filename = value ? gimp_config_path_expand (value, FALSE, NULL) : NULL;
entry = gimp_file_selection_new (filesel_title,
filename, dir_only, check_valid);
g_free (value);
g_free (filename);
set_param_spec (G_OBJECT (entry), param_spec);
@ -932,6 +938,7 @@ gimp_prop_path_editor_new (GObject *config,
GParamSpec *param_spec;
GtkWidget *editor;
gchar *value;
gchar *filename;
param_spec = check_param_spec (config, property_name,
GIMP_TYPE_PARAM_PATH, G_STRLOC);
@ -942,8 +949,11 @@ gimp_prop_path_editor_new (GObject *config,
property_name, &value,
NULL);
editor = gimp_path_editor_new (filesel_title, value);
filename = value ? gimp_config_path_expand (value, FALSE, NULL) : NULL;
editor = gimp_path_editor_new (filesel_title, filename);
g_free (filename);
g_free (value);
set_param_spec (G_OBJECT (editor), param_spec);