app: register the "settings folder" (e.g. GIMPDIR/curves) with the settings type

and remove all settings_folder API and values from GimpFilterTool and
its subclasses.
This commit is contained in:
Michael Natterer
2017-06-05 22:00:17 +02:00
parent 82d23fc6ff
commit 4f4d6b27cf
9 changed files with 35 additions and 39 deletions

View File

@ -59,7 +59,6 @@ static gchar * gimp_threshold_tool_get_operation (GimpFilterTool *filter
gchar **icon_name,
gchar **help_id,
gboolean *has_settings,
gchar **settings_folder,
gchar **import_dialog_title,
gchar **export_dialog_title);
static void gimp_threshold_tool_dialog (GimpFilterTool *filter_tool);
@ -177,13 +176,11 @@ gimp_threshold_tool_get_operation (GimpFilterTool *filter_tool,
gchar **icon_name,
gchar **help_id,
gboolean *has_settings,
gchar **settings_folder,
gchar **import_dialog_title,
gchar **export_dialog_title)
{
*description = g_strdup (_("Apply Threshold"));
*has_settings = TRUE;
*settings_folder = g_strdup ("threshold");
*import_dialog_title = g_strdup (_("Import Threshold Settings"));
*export_dialog_title = g_strdup (_("Export Threshold Settings"));