* cmd.c (info_cmd_no_menu): Toggle info screen.
(quick_cmd_no_menu): Toggle quick view.
Этот коммит содержится в:
родитель
1f423be341
Коммит
83b5c737aa
@ -1,5 +1,8 @@
|
|||||||
2002-08-21 Pavel Roskin <proski@gnu.org>
|
2002-08-21 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* cmd.c (info_cmd_no_menu): Toggle info screen.
|
||||||
|
(quick_cmd_no_menu): Toggle quick view.
|
||||||
|
|
||||||
* help.c (interactive_display): Always show button bar.
|
* help.c (interactive_display): Always show button bar.
|
||||||
|
|
||||||
* widget.c (buttonbar_callback): Fix a bug that prevented the
|
* widget.c (buttonbar_callback): Fix a bug that prevented the
|
||||||
|
14
src/cmd.c
14
src/cmd.c
@ -1442,13 +1442,23 @@ configure_panel_listing (WPanel *p, int view_type, int use_msformat, char *user,
|
|||||||
void
|
void
|
||||||
info_cmd_no_menu (void)
|
info_cmd_no_menu (void)
|
||||||
{
|
{
|
||||||
set_display_type (cpanel == left_panel ? 1 : 0, view_info);
|
if (get_display_type (0) == view_info)
|
||||||
|
set_display_type (0, view_listing);
|
||||||
|
else if (get_display_type (1) == view_info)
|
||||||
|
set_display_type (1, view_listing);
|
||||||
|
else
|
||||||
|
set_display_type (cpanel == left_panel ? 1 : 0, view_info);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
quick_cmd_no_menu (void)
|
quick_cmd_no_menu (void)
|
||||||
{
|
{
|
||||||
set_display_type (cpanel == left_panel ? 1 : 0, view_quick);
|
if (get_display_type (0) == view_quick)
|
||||||
|
set_display_type (0, view_listing);
|
||||||
|
else if (get_display_type (1) == view_quick)
|
||||||
|
set_display_type (1, view_listing);
|
||||||
|
else
|
||||||
|
set_display_type (cpanel == left_panel ? 1 : 0, view_quick);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user