summaryrefslogtreecommitdiffstats
path: root/source/view.c
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-01-04 13:34:02 +0100
committerDave Davenport <qball@gmpclient.org>2017-01-04 13:34:02 +0100
commit44581fd90b82ec617e94b2da36c7a194fff0ceca (patch)
tree2231f47d2a98612a3182e8585297bcf0a89cc2bb /source/view.c
parent8bbf1b36d5abe1d606c5f67d9d66dbb837b975d2 (diff)
Allow packing order to be set using theme.
Diffstat (limited to 'source/view.c')
-rw-r--r--source/view.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source/view.c b/source/view.c
index d207a3c1..6ec5b0b7 100644
--- a/source/view.c
+++ b/source/view.c
@@ -1505,10 +1505,7 @@ RofiViewState *rofi_view_create ( Mode *sw,
state->overlay = textbox_create ( "overlay.textbox", TB_AUTOWIDTH|TB_AUTOHEIGHT, URGENT, "blaat" );
widget_disable ( WIDGET ( state->overlay ) );
- state->list_view = listview_create ( "listview", update_callback, state, config.element_height );
- if ( end ){
- listview_reverse ( state->list_view, TRUE );
- }
+ state->list_view = listview_create ( "listview", update_callback, state, config.element_height, end );
// Set configuration
listview_set_multi_select ( state->list_view, ( state->menu_flags & MENU_INDICATOR ) == MENU_INDICATOR );
listview_set_scroll_type ( state->list_view, config.scroll_method );