aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@src.gnome.org>2008-08-01 21:10:07 +0800
committerCosimo Cecchi <cosimoc@src.gnome.org>2008-08-01 21:10:07 +0800
commit06c29da2ba72a8277191ee2acded2414462c07c1 (patch)
tree2bfb8b67bb56994ef00f45a8f90af5e921a9078d
parent997b86ef5709178f1029240169e54e3838c50a61 (diff)
downloadgsoc2013-epiphany-06c29da2ba72a8277191ee2acded2414462c07c1.tar.gz
gsoc2013-epiphany-06c29da2ba72a8277191ee2acded2414462c07c1.tar.zst
gsoc2013-epiphany-06c29da2ba72a8277191ee2acded2414462c07c1.zip
Bug #328710. Re-focus the "Remove" button after the selection has been deleted.
svn path=/trunk/; revision=8372
-rw-r--r--src/pdm-dialog.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pdm-dialog.c b/src/pdm-dialog.c
index a1186c35b..be8d7b2df 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