diff src/bar_keywords.c @ 1525:bd8001efdccc

Set the focus for new keyword dialog
author mow
date Mon, 06 Apr 2009 23:39:27 +0000
parents 24a12aa0cb54
children 51b9d42ed79b
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);
 }