mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 12:56:51 +03:00
(setup_panels): use WST_VISIBLE to set up hint bar.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
913403b10c
commit
9ac272a287
@ -865,11 +865,8 @@ setup_panels (void)
|
|||||||
panels[1].widget->cols);
|
panels[1].widget->cols);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mc_global.message_visible)
|
widget_set_size (WIDGET (the_hint), height + start_y, mw->x, 1, mw->cols);
|
||||||
widget_set_size (WIDGET (the_hint), height + start_y, mw->x, 1, mw->cols);
|
widget_set_visibility (WIDGET (the_hint), mc_global.message_visible);
|
||||||
else
|
|
||||||
/* make invisible */
|
|
||||||
widget_set_size (WIDGET (the_hint), 0, 0, 0, 0);
|
|
||||||
|
|
||||||
/* Output window */
|
/* Output window */
|
||||||
if (mc_global.tty.console_flag != '\0' && output_lines != 0)
|
if (mc_global.tty.console_flag != '\0' && output_lines != 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user