changeset 1525:bd8001efdccc

Set the focus for new keyword dialog
author mow
date Mon, 06 Apr 2009 23:39:27 +0000
parents 6026466313b2
children 51b9d42ed79b
files src/bar_keywords.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/bar_keywords.c	Mon Apr 06 22:18:13 2009 +0000
+++ b/src/bar_keywords.c	Mon Apr 06 23:39:27 2009 +0000
@@ -905,6 +905,8 @@
 				      G_CALLBACK(bar_pane_keywords_conf_set_helper), cdd);
 	g_free(name);
 
+	gtk_widget_grab_focus(cdd->edit_widget);
+
 	gtk_widget_show(gd->dialog);
 }