Commit 561eebcd authored by Nate Summers's avatar Nate Summers
Browse files

app/gimprc.c app/config/gimpcoreconfig.[ch] app/core/gimpcoreconfig.[ch]


 	* app/gimprc.c
 	* app/config/gimpcoreconfig.[ch]
 	* app/core/gimpcoreconfig.[ch]
 	* app/gui/preferences-dialog.[ch]
 	* etc/gimprc.in:
 	add a preferences option for tool plug-ins. Tool plug-ins should
 	be in a separate directory so that the plug-in code can distinguish
 	them.
parent 72ca4d3e
......@@ -70,7 +70,8 @@ enum
PROP_WRITE_THUMBNAILS,
PROP_GAMMA_CORRECTION,
PROP_INSTALL_COLORMAP,
PROP_MIN_COLORS
PROP_MIN_COLORS,
PROP_TOOL_PLUG_IN_PATH
};
......@@ -115,6 +116,9 @@ gimp_core_config_class_init (GimpCoreConfigClass *klass)
GIMP_CONFIG_INSTALL_PROP_PATH (object_class, PROP_PLUG_IN_PATH,
"plug-in-path",
gimp_config_build_plug_in_path ("plug-ins"));
GIMP_CONFIG_INSTALL_PROP_PATH (object_class, PROP_TOOL_PLUG_IN_PATH,
"tool-plug-in-path",
gimp_config_build_plug_in_path ("tool-plug-ins"));
GIMP_CONFIG_INSTALL_PROP_PATH (object_class, PROP_MODULE_PATH,
"module-path",
gimp_config_build_plug_in_path ("modules"));
......@@ -209,6 +213,10 @@ gimp_core_config_set_property (GObject *object,
g_free (core_config->plug_in_path);
core_config->plug_in_path = g_value_dup_string (value);
break;
case PROP_TOOL_PLUG_IN_PATH:
g_free (core_config->tool_plug_in_path);
core_config->tool_plug_in_path = g_value_dup_string (value);
break;
case PROP_MODULE_PATH:
g_free (core_config->module_path);
core_config->module_path = g_value_dup_string (value);
......@@ -318,6 +326,9 @@ gimp_core_config_get_property (GObject *object,
case PROP_PLUG_IN_PATH:
g_value_set_string (value, core_config->plug_in_path);
break;
case PROP_TOOL_PLUG_IN_PATH:
g_value_set_string (value, core_config->tool_plug_in_path);
break;
case PROP_MODULE_PATH:
g_value_set_string (value, core_config->module_path);
break;
......
......@@ -42,6 +42,7 @@ struct _GimpCoreConfig
GimpBaseConfig parent_instance;
gchar *plug_in_path;
gchar *tool_plug_in_path;
gchar *module_path;
gchar *brush_path;
gchar *pattern_path;
......
......@@ -34,6 +34,7 @@ gimp_core_config_init (Gimp *gimp)
gimp->config = g_new0 (GimpCoreConfig, 1);
gimp->config->tool_plug_in_path = NULL;
gimp->config->plug_in_path = NULL;
gimp->config->module_path = NULL;
......
......@@ -23,6 +23,7 @@
struct _GimpCoreConfig
{
gchar *plug_in_path;
gchar *tool_plug_in_path;
gchar *module_path;
gchar *brush_path;
......
......@@ -147,6 +147,7 @@ static gint old_last_opened_size;
static gchar * old_temp_path;
static gchar * old_swap_path;
static gchar * old_plug_in_path;
static gchar * old_tool_plug_in_path;
static gchar * old_module_path;
static gchar * old_brush_path;
static gchar * old_pattern_path;
......@@ -181,15 +182,16 @@ static gboolean edit_show_indicators;
static gboolean edit_nav_window_per_display;
static gboolean edit_info_window_follows_mouse;
static gboolean edit_disable_tearoff_menus;
static gchar * edit_temp_path = NULL;
static gchar * edit_swap_path = NULL;
static gchar * edit_plug_in_path = NULL;
static gchar * edit_module_path = NULL;
static gchar * edit_brush_path = NULL;
static gchar * edit_pattern_path = NULL;
static gchar * edit_palette_path = NULL;
static gchar * edit_gradient_path = NULL;
static gchar * edit_theme_path = NULL;
static gchar * edit_temp_path = NULL;
static gchar * edit_swap_path = NULL;
static gchar * edit_plug_in_path = NULL;
static gchar * edit_tool_plug_in_path = NULL;
static gchar * edit_module_path = NULL;
static gchar * edit_brush_path = NULL;
static gchar * edit_pattern_path = NULL;
static gchar * edit_palette_path = NULL;
static gchar * edit_gradient_path = NULL;
static gchar * edit_theme_path = NULL;
/* variables which will be changed _after_ closing the dialog */
static guint edit_tile_cache_size;
......@@ -359,15 +361,16 @@ prefs_check_settings (Gimp *gimp)
edit_info_window_follows_mouse != old_info_window_follows_mouse ||
edit_disable_tearoff_menus != old_disable_tearoff_menus ||
prefs_strcmp (old_temp_path, edit_temp_path) ||
prefs_strcmp (old_swap_path, edit_swap_path) ||
prefs_strcmp (old_plug_in_path, edit_plug_in_path) ||
prefs_strcmp (old_module_path, edit_module_path) ||
prefs_strcmp (old_brush_path, edit_brush_path) ||
prefs_strcmp (old_pattern_path, edit_pattern_path) ||
prefs_strcmp (old_palette_path, edit_palette_path) ||
prefs_strcmp (old_gradient_path, edit_gradient_path) ||
prefs_strcmp (old_theme_path, edit_theme_path))
prefs_strcmp (old_temp_path, edit_temp_path) ||
prefs_strcmp (old_swap_path, edit_swap_path) ||
prefs_strcmp (old_plug_in_path, edit_plug_in_path) ||
prefs_strcmp (old_tool_plug_in_path, edit_tool_plug_in_path) ||
prefs_strcmp (old_module_path, edit_module_path) ||
prefs_strcmp (old_brush_path, edit_brush_path) ||
prefs_strcmp (old_pattern_path, edit_pattern_path) ||
prefs_strcmp (old_palette_path, edit_palette_path) ||
prefs_strcmp (old_gradient_path, edit_gradient_path) ||
prefs_strcmp (old_theme_path, edit_theme_path))
{
return PREFS_RESTART;
}
......@@ -498,6 +501,7 @@ prefs_save_callback (GtkWidget *widget,
gchar *save_temp_path;
gchar *save_swap_path;
gchar *save_plug_in_path;
gchar *save_tool_plug_in_path;
gchar *save_module_path;
gchar *save_brush_path;
gchar *save_pattern_path;
......@@ -547,15 +551,16 @@ prefs_save_callback (GtkWidget *widget,
save_nav_window_per_display = gimprc.nav_window_per_display;
save_info_window_follows_mouse = gimprc.info_window_follows_mouse;
save_temp_path = base_config->temp_path;
save_swap_path = base_config->swap_path;
save_temp_path = base_config->temp_path;
save_swap_path = base_config->swap_path;
save_plug_in_path = gimp->config->plug_in_path;
save_module_path = gimp->config->module_path;
save_brush_path = gimp->config->brush_path;
save_pattern_path = gimp->config->pattern_path;
save_palette_path = gimp->config->palette_path;
save_gradient_path = gimp->config->gradient_path;
save_plug_in_path = gimp->config->plug_in_path;
save_tool_plug_in_path = gimp->config->tool_plug_in_path;
save_module_path = gimp->config->module_path;
save_brush_path = gimp->config->brush_path;
save_pattern_path = gimp->config->pattern_path;
save_palette_path = gimp->config->palette_path;
save_gradient_path = gimp->config->gradient_path;
save_theme_path = gimprc.theme_path;
......@@ -805,6 +810,11 @@ prefs_save_callback (GtkWidget *widget,
gimp->config->plug_in_path = edit_plug_in_path;
update = g_list_append (update, "plug-in-path");
}
if (prefs_strcmp (old_tool_plug_in_path, edit_tool_plug_in_path))
{
gimp->config->tool_plug_in_path = edit_tool_plug_in_path;
update = g_list_append (update, "tool-plug-in-path");
}
if (prefs_strcmp (old_module_path, edit_module_path))
{
gimp->config->module_path = edit_module_path;
......@@ -864,12 +874,13 @@ prefs_save_callback (GtkWidget *widget,
base_config->temp_path = save_temp_path;
base_config->swap_path = save_swap_path;
gimp->config->plug_in_path = save_plug_in_path;
gimp->config->module_path = save_module_path;
gimp->config->brush_path = save_brush_path;
gimp->config->pattern_path = save_pattern_path;
gimp->config->palette_path = save_palette_path;
gimp->config->gradient_path = save_gradient_path;
gimp->config->plug_in_path = save_plug_in_path;
gimp->config->tool_plug_in_path = save_tool_plug_in_path;
gimp->config->module_path = save_module_path;
gimp->config->brush_path = save_brush_path;
gimp->config->pattern_path = save_pattern_path;
gimp->config->palette_path = save_palette_path;
gimp->config->gradient_path = save_gradient_path;
gimprc.theme_path = save_theme_path;
......@@ -973,17 +984,18 @@ prefs_cancel_callback (GtkWidget *widget,
edit_info_window_follows_mouse = old_info_window_follows_mouse;
edit_disable_tearoff_menus = old_disable_tearoff_menus;
prefs_strset (&edit_temp_path, old_temp_path);
prefs_strset (&edit_swap_path, old_swap_path);
prefs_strset (&edit_temp_path, old_temp_path);
prefs_strset (&edit_swap_path, old_swap_path);
prefs_strset (&edit_plug_in_path, old_plug_in_path);
prefs_strset (&edit_module_path, old_module_path);
prefs_strset (&edit_brush_path, old_brush_path);
prefs_strset (&edit_pattern_path, old_pattern_path);
prefs_strset (&edit_palette_path, old_palette_path);
prefs_strset (&edit_gradient_path, old_gradient_path);
prefs_strset (&edit_plug_in_path, old_plug_in_path);
prefs_strset (&edit_tool_plug_in_path, old_tool_plug_in_path);
prefs_strset (&edit_module_path, old_module_path);
prefs_strset (&edit_brush_path, old_brush_path);
prefs_strset (&edit_pattern_path, old_pattern_path);
prefs_strset (&edit_palette_path, old_palette_path);
prefs_strset (&edit_gradient_path, old_gradient_path);
prefs_strset (&edit_theme_path, old_theme_path);
prefs_strset (&edit_theme_path, old_theme_path);
/* no need to restore values which are only changed on "OK" and "Save" */
}
......@@ -1509,12 +1521,13 @@ preferences_dialog_create (Gimp *gimp)
edit_temp_path = prefs_strdup (base_config->temp_path);
edit_swap_path = prefs_strdup (base_config->swap_path);
edit_plug_in_path = prefs_strdup (gimp->config->plug_in_path);
edit_module_path = prefs_strdup (gimp->config->module_path);
edit_brush_path = prefs_strdup (gimp->config->brush_path);
edit_pattern_path = prefs_strdup (gimp->config->pattern_path);
edit_palette_path = prefs_strdup (gimp->config->palette_path);
edit_gradient_path = prefs_strdup (gimp->config->gradient_path);
edit_plug_in_path = prefs_strdup (gimp->config->plug_in_path);
edit_tool_plug_in_path = prefs_strdup (gimp->config->tool_plug_in_path);
edit_module_path = prefs_strdup (gimp->config->module_path);
edit_brush_path = prefs_strdup (gimp->config->brush_path);
edit_pattern_path = prefs_strdup (gimp->config->pattern_path);
edit_palette_path = prefs_strdup (gimp->config->palette_path);
edit_gradient_path = prefs_strdup (gimp->config->gradient_path);
edit_theme_path = prefs_strdup (gimprc.theme_path);
}
......@@ -1581,15 +1594,16 @@ preferences_dialog_create (Gimp *gimp)
old_info_window_follows_mouse = edit_info_window_follows_mouse;
old_disable_tearoff_menus = edit_disable_tearoff_menus;
prefs_strset (&old_temp_path, edit_temp_path);
prefs_strset (&old_swap_path, edit_swap_path);
prefs_strset (&old_plug_in_path, edit_plug_in_path);
prefs_strset (&old_module_path, edit_module_path);
prefs_strset (&old_brush_path, edit_brush_path);
prefs_strset (&old_pattern_path, edit_pattern_path);
prefs_strset (&old_palette_path, edit_palette_path);
prefs_strset (&old_gradient_path, edit_gradient_path);
prefs_strset (&old_theme_path, edit_theme_path);
prefs_strset (&old_temp_path, edit_temp_path);
prefs_strset (&old_swap_path, edit_swap_path);
prefs_strset (&old_plug_in_path, edit_plug_in_path);
prefs_strset (&old_tool_plug_in_path, edit_tool_plug_in_path);
prefs_strset (&old_module_path, edit_module_path);
prefs_strset (&old_brush_path, edit_brush_path);
prefs_strset (&old_pattern_path, edit_pattern_path);
prefs_strset (&old_palette_path, edit_palette_path);
prefs_strset (&old_gradient_path, edit_gradient_path);
prefs_strset (&old_theme_path, edit_theme_path);
/* values which will be changed on "OK" and "Save" */
old_tile_cache_size = edit_tile_cache_size;
......@@ -2803,6 +2817,10 @@ preferences_dialog_create (Gimp *gimp)
"dialogs/preferences/directories.html#plug_ins",
N_("Select Plug-Ins Dir"),
&edit_plug_in_path },
{ N_("Tool Plug-Ins"), N_("Tool Plug-Ins Directories"),
"dialogs/preferences/directories.html#tool_plug_ins",
N_("Select Tool Plug-Ins Dir"),
&edit_tool_plug_in_path },
{ N_("Modules"), N_("Modules Directories"),
"dialogs/preferences/directories.html#modules",
N_("Select Modules Dir"),
......
......@@ -361,7 +361,8 @@ gimprc_init (Gimp *gimp)
{ "undo-levels", TT_INT, NULL, NULL },
{ "pluginrc-path", TT_PATH, NULL, NULL },
{ "module-load-inhibit", TT_PATH, NULL, NULL },
{ "thumbnail-mode", TT_INT, NULL, NULL }
{ "thumbnail-mode", TT_INT, NULL, NULL },
{ "tool-plug-in-path", TT_PATH, NULL, NULL }
};
/* this hurts badly */
......@@ -394,6 +395,7 @@ gimprc_init (Gimp *gimp)
core_funcs[18].val1p = &gimp->config->pluginrc_path;
core_funcs[19].val1p = &gimp->config->module_db_load_inhibit;
core_funcs[20].val1p = &gimp->config->write_thumbnails;
core_funcs[21].val1p = &gimp->config->tool_plug_in_path;
parse_func_hash = g_hash_table_new (g_str_hash, g_str_equal);
......
......@@ -147,6 +147,7 @@ static gint old_last_opened_size;
static gchar * old_temp_path;
static gchar * old_swap_path;
static gchar * old_plug_in_path;
static gchar * old_tool_plug_in_path;
static gchar * old_module_path;
static gchar * old_brush_path;
static gchar * old_pattern_path;
......@@ -181,15 +182,16 @@ static gboolean edit_show_indicators;
static gboolean edit_nav_window_per_display;
static gboolean edit_info_window_follows_mouse;
static gboolean edit_disable_tearoff_menus;
static gchar * edit_temp_path = NULL;
static gchar * edit_swap_path = NULL;
static gchar * edit_plug_in_path = NULL;
static gchar * edit_module_path = NULL;
static gchar * edit_brush_path = NULL;
static gchar * edit_pattern_path = NULL;
static gchar * edit_palette_path = NULL;
static gchar * edit_gradient_path = NULL;
static gchar * edit_theme_path = NULL;
static gchar * edit_temp_path = NULL;
static gchar * edit_swap_path = NULL;
static gchar * edit_plug_in_path = NULL;
static gchar * edit_tool_plug_in_path = NULL;
static gchar * edit_module_path = NULL;
static gchar * edit_brush_path = NULL;
static gchar * edit_pattern_path = NULL;
static gchar * edit_palette_path = NULL;
static gchar * edit_gradient_path = NULL;
static gchar * edit_theme_path = NULL;
/* variables which will be changed _after_ closing the dialog */
static guint edit_tile_cache_size;
......@@ -359,15 +361,16 @@ prefs_check_settings (Gimp *gimp)
edit_info_window_follows_mouse != old_info_window_follows_mouse ||
edit_disable_tearoff_menus != old_disable_tearoff_menus ||
prefs_strcmp (old_temp_path, edit_temp_path) ||
prefs_strcmp (old_swap_path, edit_swap_path) ||
prefs_strcmp (old_plug_in_path, edit_plug_in_path) ||
prefs_strcmp (old_module_path, edit_module_path) ||
prefs_strcmp (old_brush_path, edit_brush_path) ||
prefs_strcmp (old_pattern_path, edit_pattern_path) ||
prefs_strcmp (old_palette_path, edit_palette_path) ||
prefs_strcmp (old_gradient_path, edit_gradient_path) ||
prefs_strcmp (old_theme_path, edit_theme_path))
prefs_strcmp (old_temp_path, edit_temp_path) ||
prefs_strcmp (old_swap_path, edit_swap_path) ||
prefs_strcmp (old_plug_in_path, edit_plug_in_path) ||
prefs_strcmp (old_tool_plug_in_path, edit_tool_plug_in_path) ||
prefs_strcmp (old_module_path, edit_module_path) ||
prefs_strcmp (old_brush_path, edit_brush_path) ||
prefs_strcmp (old_pattern_path, edit_pattern_path) ||
prefs_strcmp (old_palette_path, edit_palette_path) ||
prefs_strcmp (old_gradient_path, edit_gradient_path) ||
prefs_strcmp (old_theme_path, edit_theme_path))
{
return PREFS_RESTART;
}
......@@ -498,6 +501,7 @@ prefs_save_callback (GtkWidget *widget,
gchar *save_temp_path;
gchar *save_swap_path;
gchar *save_plug_in_path;
gchar *save_tool_plug_in_path;
gchar *save_module_path;
gchar *save_brush_path;
gchar *save_pattern_path;
......@@ -547,15 +551,16 @@ prefs_save_callback (GtkWidget *widget,
save_nav_window_per_display = gimprc.nav_window_per_display;
save_info_window_follows_mouse = gimprc.info_window_follows_mouse;
save_temp_path = base_config->temp_path;
save_swap_path = base_config->swap_path;
save_temp_path = base_config->temp_path;
save_swap_path = base_config->swap_path;
save_plug_in_path = gimp->config->plug_in_path;
save_module_path = gimp->config->module_path;
save_brush_path = gimp->config->brush_path;
save_pattern_path = gimp->config->pattern_path;
save_palette_path = gimp->config->palette_path;
save_gradient_path = gimp->config->gradient_path;
save_plug_in_path = gimp->config->plug_in_path;
save_tool_plug_in_path = gimp->config->tool_plug_in_path;
save_module_path = gimp->config->module_path;
save_brush_path = gimp->config->brush_path;
save_pattern_path = gimp->config->pattern_path;
save_palette_path = gimp->config->palette_path;
save_gradient_path = gimp->config->gradient_path;
save_theme_path = gimprc.theme_path;
......@@ -805,6 +810,11 @@ prefs_save_callback (GtkWidget *widget,
gimp->config->plug_in_path = edit_plug_in_path;
update = g_list_append (update, "plug-in-path");
}
if (prefs_strcmp (old_tool_plug_in_path, edit_tool_plug_in_path))
{
gimp->config->tool_plug_in_path = edit_tool_plug_in_path;
update = g_list_append (update, "tool-plug-in-path");
}
if (prefs_strcmp (old_module_path, edit_module_path))
{
gimp->config->module_path = edit_module_path;
......@@ -864,12 +874,13 @@ prefs_save_callback (GtkWidget *widget,
base_config->temp_path = save_temp_path;
base_config->swap_path = save_swap_path;
gimp->config->plug_in_path = save_plug_in_path;
gimp->config->module_path = save_module_path;
gimp->config->brush_path = save_brush_path;
gimp->config->pattern_path = save_pattern_path;
gimp->config->palette_path = save_palette_path;
gimp->config->gradient_path = save_gradient_path;
gimp->config->plug_in_path = save_plug_in_path;
gimp->config->tool_plug_in_path = save_tool_plug_in_path;
gimp->config->module_path = save_module_path;
gimp->config->brush_path = save_brush_path;
gimp->config->pattern_path = save_pattern_path;
gimp->config->palette_path = save_palette_path;
gimp->config->gradient_path = save_gradient_path;
gimprc.theme_path = save_theme_path;
......@@ -973,17 +984,18 @@ prefs_cancel_callback (GtkWidget *widget,
edit_info_window_follows_mouse = old_info_window_follows_mouse;
edit_disable_tearoff_menus = old_disable_tearoff_menus;
prefs_strset (&edit_temp_path, old_temp_path);
prefs_strset (&edit_swap_path, old_swap_path);
prefs_strset (&edit_temp_path, old_temp_path);
prefs_strset (&edit_swap_path, old_swap_path);
prefs_strset (&edit_plug_in_path, old_plug_in_path);
prefs_strset (&edit_module_path, old_module_path);
prefs_strset (&edit_brush_path, old_brush_path);
prefs_strset (&edit_pattern_path, old_pattern_path);
prefs_strset (&edit_palette_path, old_palette_path);
prefs_strset (&edit_gradient_path, old_gradient_path);
prefs_strset (&edit_plug_in_path, old_plug_in_path);
prefs_strset (&edit_tool_plug_in_path, old_tool_plug_in_path);
prefs_strset (&edit_module_path, old_module_path);
prefs_strset (&edit_brush_path, old_brush_path);
prefs_strset (&edit_pattern_path, old_pattern_path);
prefs_strset (&edit_palette_path, old_palette_path);
prefs_strset (&edit_gradient_path, old_gradient_path);
prefs_strset (&edit_theme_path, old_theme_path);
prefs_strset (&edit_theme_path, old_theme_path);
/* no need to restore values which are only changed on "OK" and "Save" */
}
......@@ -1509,12 +1521,13 @@ preferences_dialog_create (Gimp *gimp)
edit_temp_path = prefs_strdup (base_config->temp_path);
edit_swap_path = prefs_strdup (base_config->swap_path);
edit_plug_in_path = prefs_strdup (gimp->config->plug_in_path);
edit_module_path = prefs_strdup (gimp->config->module_path);
edit_brush_path = prefs_strdup (gimp->config->brush_path);
edit_pattern_path = prefs_strdup (gimp->config->pattern_path);
edit_palette_path = prefs_strdup (gimp->config->palette_path);
edit_gradient_path = prefs_strdup (gimp->config->gradient_path);
edit_plug_in_path = prefs_strdup (gimp->config->plug_in_path);
edit_tool_plug_in_path = prefs_strdup (gimp->config->tool_plug_in_path);
edit_module_path = prefs_strdup (gimp->config->module_path);
edit_brush_path = prefs_strdup (gimp->config->brush_path);
edit_pattern_path = prefs_strdup (gimp->config->pattern_path);
edit_palette_path = prefs_strdup (gimp->config->palette_path);
edit_gradient_path = prefs_strdup (gimp->config->gradient_path);
edit_theme_path = prefs_strdup (gimprc.theme_path);
}
......@@ -1581,15 +1594,16 @@ preferences_dialog_create (Gimp *gimp)
old_info_window_follows_mouse = edit_info_window_follows_mouse;
old_disable_tearoff_menus = edit_disable_tearoff_menus;
prefs_strset (&old_temp_path, edit_temp_path);
prefs_strset (&old_swap_path, edit_swap_path);
prefs_strset (&old_plug_in_path, edit_plug_in_path);
prefs_strset (&old_module_path, edit_module_path);
prefs_strset (&old_brush_path, edit_brush_path);
prefs_strset (&old_pattern_path, edit_pattern_path);
prefs_strset (&old_palette_path, edit_palette_path);
prefs_strset (&old_gradient_path, edit_gradient_path);
prefs_strset (&old_theme_path, edit_theme_path);
prefs_strset (&old_temp_path, edit_temp_path);
prefs_strset (&old_swap_path, edit_swap_path);
prefs_strset (&old_plug_in_path, edit_plug_in_path);
prefs_strset (&old_tool_plug_in_path, edit_tool_plug_in_path);
prefs_strset (&old_module_path, edit_module_path);
prefs_strset (&old_brush_path, edit_brush_path);
prefs_strset (&old_pattern_path, edit_pattern_path);
prefs_strset (&old_palette_path, edit_palette_path);
prefs_strset (&old_gradient_path, edit_gradient_path);
prefs_strset (&old_theme_path, edit_theme_path);
/* values which will be changed on "OK" and "Save" */
old_tile_cache_size = edit_tile_cache_size;
......@@ -2803,6 +2817,10 @@ preferences_dialog_create (Gimp *gimp)
"dialogs/preferences/directories.html#plug_ins",
N_("Select Plug-Ins Dir"),
&edit_plug_in_path },
{ N_("Tool Plug-Ins"), N_("Tool Plug-Ins Directories"),
"dialogs/preferences/directories.html#tool_plug_ins",
N_("Select Tool Plug-Ins Dir"),
&edit_tool_plug_in_path },
{ N_("Modules"), N_("Modules Directories"),
"dialogs/preferences/directories.html#modules",
N_("Select Modules Dir"),
......
......@@ -69,6 +69,10 @@
# 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")
......
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