Commit 14a054e9 authored by Michael Natterer's avatar Michael Natterer 😴

app: add a "Filter Dialogs" section to prefs -> dialog defaults

parent 62ec4831
......@@ -476,6 +476,9 @@ prefs_dialog_defaults_reset (GtkWidget *widget,
gimp_config_reset_property (config, pspec->name);
gimp_config_reset_property (config, "filter-tool-max-recent");
gimp_config_reset_property (config, "filter-tool-show-color-options");
g_object_thaw_notify (config);
g_free (pspecs);
......@@ -2163,6 +2166,19 @@ prefs_dialog_new (Gimp *gimp,
_("Enable dithering of text layers"),
GTK_BOX (vbox2));
/* Filter Dialogs */
vbox2 = prefs_frame_new (_("Filter Dialogs"),
table = prefs_table_new (1, GTK_CONTAINER (vbox2));
prefs_spin_button_add (object, "filter-tool-max-recent", 1.0, 8.0, 0,
_("Keep recent settings:"),
GTK_TABLE (table), 1, size_group);
button = prefs_check_button_add (object, "filter-tool-show-color-options",
_("Show advanced color options"),
GTK_BOX (vbox2));
/* Canvas Size Dialog */
vbox2 = prefs_frame_new (_("Canvas Size Dialog"),
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