From b1df5513df15b41c19b4e12efedf9e40a623f010 Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Thu, 26 Jun 2003 15:57:20 +0000 Subject: [PATCH] don't set the focus on the size_entry. This change allows to accept the 2003-06-26 Sven Neumann * app/gui/file-new-dialog.c (file_new_dialog_new): don't set the focus on the size_entry. This change allows to accept the default values by pressing OK. Fixes bug #115876. --- ChangeLog | 6 ++++++ app/dialogs/image-new-dialog.c | 2 -- app/gui/file-new-dialog.c | 2 -- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 711b4b5ff2..97e7e65b03 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-06-26 Sven Neumann + + * app/gui/file-new-dialog.c (file_new_dialog_new): don't set the + focus on the size_entry. This change allows to accept the default + values by pressing OK. Fixes bug #115876. + 2003-06-26 Michael Natterer * app/gui/user-install-dialog.c (user_install_dialog_create): diff --git a/app/dialogs/image-new-dialog.c b/app/dialogs/image-new-dialog.c index 2ba5c48c77..7cf7e14f21 100644 --- a/app/dialogs/image-new-dialog.c +++ b/app/dialogs/image-new-dialog.c @@ -154,8 +154,6 @@ file_new_dialog_new (Gimp *gimp) G_CALLBACK (file_new_template_notify), dialog); - gimp_size_entry_grab_focus (GIMP_SIZE_ENTRY (GIMP_TEMPLATE_EDITOR (dialog->editor)->size_se)); - return dialog->dialog; } diff --git a/app/gui/file-new-dialog.c b/app/gui/file-new-dialog.c index 2ba5c48c77..7cf7e14f21 100644 --- a/app/gui/file-new-dialog.c +++ b/app/gui/file-new-dialog.c @@ -154,8 +154,6 @@ file_new_dialog_new (Gimp *gimp) G_CALLBACK (file_new_template_notify), dialog); - gimp_size_entry_grab_focus (GIMP_SIZE_ENTRY (GIMP_TEMPLATE_EDITOR (dialog->editor)->size_se)); - return dialog->dialog; }