+ BC_Title *title;
+ char text[BCTEXTLEN];
+ Track *track = popup->track;
+ Edit *edit = popup->edit;
+ sprintf(text, _("Track %d:"), mwindow->edl->tracks->number_of(track)+1);
+ add_subwindow(title = new BC_Title(x, y, text));
+ int x1 = x + title->get_w() + 10;
+ int tw = get_w() - x1 - 20;
+ truncate_text(text, track->title, tw);
+ add_subwindow(new BC_Title(x1, y, text));
+ y += title->get_h() + 5;
+ sprintf(text, _("Edit %d:"), track->edits->number_of(edit)+1);
+ add_subwindow(title = new BC_Title(x, y, text));
+ char edit_title[BCTEXTLEN];
+ edit->get_title(edit_title);
+ truncate_text(text, edit_title, tw);
+ add_subwindow(new BC_Title(x1, y, text));
+ y += title->get_h() + 5;