Use folderview_grab_focus() outside of folderview.c.
[claws.git] / src / toolbar.c
index 697c2f96461877704cfa546497ccf513c91241ea..ee98c9ec83afb393361466139df8ddba229a6c8c 100644 (file)
@@ -1705,7 +1705,7 @@ static void toolbar_go_folders_cb(GtkWidget *widget, gpointer data)
                        folderview_select(mainwin->folderview, item);
                }
        } else {
-               gtk_widget_grab_focus(mainwin->folderview->ctree);
+               folderview_grab_focus(mainwin->folderview);
                mainwindow_exit_folder(mainwin);
        }
 }