Commit 8264101e authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

app/config/gimppluginconfig.[ch] added "script-fu-path" back to gimprc.

2002-12-30  Sven Neumann  <sven@gimp.org>

	* app/config/gimppluginconfig.[ch]
	* app/config/gimprc-blurbs.h: added "script-fu-path" back to gimprc.
parent 939b4310
2002-12-30 Sven Neumann <sven@gimp.org>
* app/config/gimppluginconfig.[ch]
* app/config/gimprc-blurbs.h: added "script-fu-path" back to gimprc.
2002-12-30 Sven Neumann <sven@gimp.org>
* app/app_procs.c
......
......@@ -11,10 +11,12 @@ dubbed GIMP 1.4.
Overview of Changes in GIMP 1.3.11
==================================
- Added a display filter that simulates color-deficient vision [Mitch, Sven]
- Allow to stroke bezier curves with the vectors tool [Simon]
- Added a first draft of a display filter that simulates
color-deficient vision [Mitch, Sven]
- Added an optional menubar per display [Mitch]
- Added PDB functions needed by GAP [Wolfgang Hofer]
- Updated the Win32 build system [Hans Breuer]
- Added PDB functions needed by GAP [Wolfgang Hofer, Sven]
- Updated the Win32 build system [Tor Lillqvist, Hans Breuer]
- Factored common code out of a number of plug-ins [Maurits]
- Use g_rand* functions whereever random numbers are needed [Bolsh]
- GimpPressionist plug-in cleaned up [Maurits]
......
......@@ -53,6 +53,7 @@ enum
PROP_GFIG_PATH,
PROP_GFLARE_PATH,
PROP_GIMPRESSIONIST_PATH,
PROP_SCRIPT_FU_PATH
};
static GObjectClass *parent_class = NULL;
......@@ -101,7 +102,8 @@ gimp_plugin_config_class_init (GimpPluginConfigClass *klass)
GIMP_CONFIG_INSTALL_PROP_PATH (object_class,
PROP_FRACTALEXPLORER_PATH,
"fractalexplorer-path", FRACTALEXPLORER_PATH_BLURB,
"fractalexplorer-path",
FRACTALEXPLORER_PATH_BLURB,
gimp_config_build_data_path ("fractalexplorer"),
0);
GIMP_CONFIG_INSTALL_PROP_PATH (object_class,
......@@ -116,9 +118,16 @@ gimp_plugin_config_class_init (GimpPluginConfigClass *klass)
0);
GIMP_CONFIG_INSTALL_PROP_PATH (object_class,
PROP_GIMPRESSIONIST_PATH,
"gimpressionist-path", GIMPRESSIONIST_PATH_BLURB,
"gimpressionist-path",
GIMPRESSIONIST_PATH_BLURB,
gimp_config_build_data_path ("gimpressionist"),
0);
GIMP_CONFIG_INSTALL_PROP_PATH (object_class,
PROP_SCRIPT_FU_PATH,
"script-fu-path",
SCRIPT_FU_PATH_BLURB,
gimp_config_build_data_path ("scripts"),
0);
}
static void
......@@ -132,6 +141,7 @@ gimp_plugin_config_finalize (GObject *object)
g_free (plugin_config->gfig_path);
g_free (plugin_config->gflare_path);
g_free (plugin_config->gimpressionist_path);
g_free (plugin_config->script_fu_path);
G_OBJECT_CLASS (parent_class)->finalize (object);
}
......@@ -168,6 +178,11 @@ gimp_plugin_config_set_property (GObject *object,
plugin_config->gimpressionist_path = g_value_dup_string (value);
break;
case PROP_SCRIPT_FU_PATH:
g_free (plugin_config->script_fu_path);
plugin_config->script_fu_path = g_value_dup_string (value);
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
break;
......@@ -202,6 +217,10 @@ gimp_plugin_config_get_property (GObject *object,
g_value_set_string (value, plugin_config->gimpressionist_path);
break;
case PROP_SCRIPT_FU_PATH:
g_value_set_string (value, plugin_config->script_fu_path);
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
break;
......
......@@ -44,7 +44,7 @@ struct _GimpPluginConfig
gchar *gfig_path;
gchar *gflare_path;
gchar *gimpressionist_path;
gchar *script_fu_path;
};
struct _GimpPluginConfigClass
......
......@@ -72,8 +72,7 @@
"File/New dialog. This value is always in dpi (dots per inch)."
#define FRACTALEXPLORER_PATH_BLURB \
"This path will be searched for fractals when you use the "\
"Fractal Explorer plug-in."
"Where to search for fractals used by the Fractal Explorer plug-in."
#define GAMMA_CORRECTION_BLURB \
"This setting is ignored."
......@@ -194,6 +193,9 @@
"window-manager to place them there again the next time you use the " \
"GIMP."
#define SCRIPT_FU_PATH_BLURB \
"This path will be searched for scripts when the Script-Fu plug-in is run."
#define SHOW_MENUBAR_BLURB \
"Set the menubar visibility. This can also be toggled with the "\
"View->Toggle Menubar command."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment