(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

View File

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