From 75fa78595ec3b7a011afdfd329d830d65ef3553f Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Tue, 14 Dec 2010 11:37:28 +0300 Subject: [PATCH] (single_dirsize_cmd): send CK_PanelMoveDown message instead of KEY_DOWN one to panel. Signed-off-by: Andrew Borodin --- src/filemanager/cmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/filemanager/cmd.c b/src/filemanager/cmd.c index 739a78a74..8964f1bbe 100644 --- a/src/filemanager/cmd.c +++ b/src/filemanager/cmd.c @@ -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);