mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 12:56:51 +03:00
Added title and separate line to the tree selection window.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru> Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
parent
196b44ead0
commit
24f1e80cf1
@ -692,10 +692,12 @@ tree_box (const char *current_dir)
|
||||
|
||||
/* Create the components */
|
||||
dlg = create_dlg (0, 0, LINES - 9, COLS - 20, dialog_colors,
|
||||
tree_callback, "[Directory Tree]", NULL, DLG_CENTER | DLG_REVERSE);
|
||||
tree_callback, "[Directory Tree]",
|
||||
_("Directory tree"), DLG_CENTER | DLG_REVERSE);
|
||||
|
||||
mytree = tree_new (2, 2, dlg->lines - 6, dlg->cols - 5, FALSE);
|
||||
add_widget (dlg, mytree);
|
||||
add_widget (dlg, hline_new (dlg->lines - 4, 1, -1));
|
||||
bar = buttonbar_new (TRUE);
|
||||
add_widget (dlg, bar);
|
||||
/* restore ButtonBar coordinates after add_widget() */
|
||||
|
Loading…
Reference in New Issue
Block a user