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 <aborodin@vmail.ru>
This commit is contained in:
Avi Kelman 2013-08-24 16:08:13 -04:00 committed by Andrew Borodin
parent a8101d8403
commit e546698396

View File

@ -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++;