mirror of https://github.com/GNOME/gimp.git
app: add a "Filter Dialogs" section to prefs -> dialog defaults
This commit is contained in:
parent
62ec4831db
commit
14a054e980
|
@ -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"),
|
||||
GTK_CONTAINER (vbox), FALSE);
|
||||
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"),
|
||||
GTK_CONTAINER (vbox), FALSE);
|
||||
|
|
Loading…
Reference in New Issue