1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-25 13:55:34 -05:00

Change Listview::barview to Listview::layout

This commit is contained in:
Dave Davenport 2017-06-03 21:46:21 +02:00
parent c29f897d69
commit e12cf40e54

View file

@ -39,8 +39,8 @@
typedef enum
{
LISTVIEW = 0,
BARVIEW = 1,
LISTVIEW = ROFI_ORIENTATION_VERTICAL,
BARVIEW = ROFI_ORIENTATION_HORIZONTAL,
} ViewType;
typedef enum
@ -551,7 +551,7 @@ listview *listview_create ( const char *name, listview_update_callback cb, void
lv->reverse = rofi_theme_get_boolean ( WIDGET ( lv ), "reverse", reverse );
lv->cycle = rofi_theme_get_boolean ( WIDGET ( lv ), "cycle", config.cycle );
lv->type = rofi_theme_get_boolean ( WIDGET ( lv ), "barview", FALSE );
lv->type = rofi_theme_get_orientation ( WIDGET ( lv ), "layout", ROFI_ORIENTATION_VERTICAL );
if ( lv->type == LISTVIEW ) {
listview_set_show_scrollbar ( lv, rofi_theme_get_boolean ( WIDGET ( lv ), "scrollbar", FALSE ) );
}