From 4908c4b2c2af637129e4c05384c73504c1af5502 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Fri, 1 Aug 2008 14:07:12 +0000 Subject: Bug #328710. Re-focus the "Remove" button after the selection has been deleted. svn path=/branches/gnome-2-24/; revision=8373 --- src/pdm-dialog.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/pdm-dialog.c') diff --git a/src/pdm-dialog.c b/src/pdm-dialog.c index fafa54fe7..19b12121c 100644 --- a/src/pdm-dialog.c +++ b/src/pdm-dialog.c @@ -547,6 +547,9 @@ pdm_dialog_remove_button_clicked_cb (GtkWidget *button, PdmActionInfo *action) { pdm_cmd_delete_selection (action); + + /* Restore the focus to the button */ + gtk_widget_grab_focus (button); } static void -- cgit v1.2.3