(single_dirsize_cmd): send CK_PanelMoveDown message instead of KEY_DOWN one to panel.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2010-12-14 11:37:28 +03:00
parent 7a8dc2665e
commit 75fa78595e
1 changed files with 2 additions and 2 deletions

View File

@ -58,6 +58,7 @@
#include "lib/strutil.h"
#include "lib/util.h"
#include "lib/widget.h"
#include "lib/keybind.h" /* CK_PanelMoveDown, CK_InputHistoryShow */
#include "src/subshell.h" /* use_subshell */
#include "src/consaver/cons.saver.h" /* console_flag */
@ -66,7 +67,6 @@
#include "src/setup.h"
#include "src/execute.h" /* toggle_panels() */
#include "src/history.h"
#include "src/keybind-defaults.h" /* CK_InputHistoryShow */
#ifdef USE_INTERNAL_EDIT
#include "src/editor/edit.h"
@ -1513,7 +1513,7 @@ single_dirsize_cmd (void)
}
if (panels_options.mark_moves_down)
send_message (&panel->widget, WIDGET_KEY, KEY_DOWN);
send_message ((Widget *) panel, WIDGET_COMMAND, CK_PanelMoveDown);
recalculate_panel_summary (panel);