don't forget to reset the template combo on RESPONSE_RESET.

2004-10-13  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/image-new-dialog.c (image_new_response): don't
	forget to reset the template combo on RESPONSE_RESET.
This commit is contained in:
Michael Natterer 2004-10-13 01:52:48 +00:00 committed by Michael Natterer
parent 12280a31a1
commit 1c6a1ca10a
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2004-10-13 Michael Natterer <mitch@gimp.org>
* app/dialogs/image-new-dialog.c (image_new_response): don't
forget to reset the template combo on RESPONSE_RESET.
2004-10-13 Michael Natterer <mitch@gimp.org>
* app/display/gimpdisplay-foreach.c: keep the container of dirty

View File

@ -185,6 +185,8 @@ image_new_response (GtkWidget *widget,
case RESPONSE_RESET:
gimp_config_sync (GIMP_CONFIG (dialog->gimp->config->default_image),
GIMP_CONFIG (dialog->template), 0);
gimp_container_view_select_item (GIMP_CONTAINER_VIEW (dialog->combo),
NULL);
break;
case GTK_RESPONSE_OK: