sp->dp->currtreeitem = sp->treeitem;
static void treeitem_sel(GtkItem *item, gpointer data){    struct selparam *sp = (struct selparam *)data;    panels_switch_to(sp->panels, sp->panel);    sp->dp->shortcuts = &sp->shortcuts;}