From e5466983961984336c7de1cb308e7a0bcd0f1e4b Mon Sep 17 00:00:00 2001 From: Avi Kelman Date: Sat, 24 Aug 2013 16:08:13 -0400 Subject: [PATCH] Make layout dialog left/right arrows more coherent. Alt+Shift+Left_arrow and Alt+Shift+Right_arrow directly influence the divider position, but the < and > layout dialog buttons have the reverse effect, which is unintuitive behavior. Reverse the direction of < and > influence so that clicking left moves the divider left, and clicking right moves the divider right. Signed-off-by: Andrew Borodin --- src/filemanager/layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filemanager/layout.c b/src/filemanager/layout.c index 993370171..06c660e53 100644 --- a/src/filemanager/layout.c +++ b/src/filemanager/layout.c @@ -260,7 +260,7 @@ b_left_right_cback (WButton * button, int action) { (void) action; - if (button == bleft_widget) + if (button == bright_widget) { if (panels_layout.horizontal_split) panels_layout.top_panel_size++;