Set the focus for new keyword dialog
authorKlaus Ethgen <Klaus@Ethgen.de>
Mon, 6 Apr 2009 23:39:27 +0000 (23:39 +0000)
committerKlaus Ethgen <Klaus@Ethgen.de>
Mon, 6 Apr 2009 23:39:27 +0000 (23:39 +0000)
src/bar_keywords.c

index fcc41d4..e080da6 100644 (file)
@@ -905,6 +905,8 @@ static void bar_pane_keywords_edit_dialog(PaneKeywordsData *pkd, gboolean edit_e
                                      G_CALLBACK(bar_pane_keywords_conf_set_helper), cdd);
        g_free(name);
 
+       gtk_widget_grab_focus(cdd->edit_widget);
+
        gtk_widget_show(gd->dialog);
 }