comparison 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
comparison
equal deleted inserted replaced
1524:6026466313b2 1525:bd8001efdccc
903 button = pref_radiobutton_new(group, button, _("Helper"), 903 button = pref_radiobutton_new(group, button, _("Helper"),
904 (!cdd->is_keyword), 904 (!cdd->is_keyword),
905 G_CALLBACK(bar_pane_keywords_conf_set_helper), cdd); 905 G_CALLBACK(bar_pane_keywords_conf_set_helper), cdd);
906 g_free(name); 906 g_free(name);
907 907
908 gtk_widget_grab_focus(cdd->edit_widget);
909
908 gtk_widget_show(gd->dialog); 910 gtk_widget_show(gd->dialog);
909 } 911 }
910 912
911 913
912 914