From 1c6a1ca10a7765a9dbb8dfe2bedf2d6be5630713 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Wed, 13 Oct 2004 01:52:48 +0000 Subject: [PATCH] don't forget to reset the template combo on RESPONSE_RESET. 2004-10-13 Michael Natterer * app/dialogs/image-new-dialog.c (image_new_response): don't forget to reset the template combo on RESPONSE_RESET. --- ChangeLog | 5 +++++ app/dialogs/image-new-dialog.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 4cba850abf..bcfb1e4689 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-10-13 Michael Natterer + + * 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 * app/display/gimpdisplay-foreach.c: keep the container of dirty diff --git a/app/dialogs/image-new-dialog.c b/app/dialogs/image-new-dialog.c index 02241bc4eb..863019e05e 100644 --- a/app/dialogs/image-new-dialog.c +++ b/app/dialogs/image-new-dialog.c @@ -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: