diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-01-03 14:25:24 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-01-03 14:25:24 +0100 |
commit | e982a439fbf2694be0a808b3eb09d67047c262fe (patch) | |
tree | 02400771714256e778a2f1386d368225ff61cb54 /source/theme.c | |
parent | fe0219a02506be3b4be19654058de07d7e979f1b (diff) |
Fix spacing in listview and box.
Diffstat (limited to 'source/theme.c')
-rw-r--r-- | source/theme.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/theme.c b/source/theme.c index 8bba8206..b9e72f8b 100644 --- a/source/theme.c +++ b/source/theme.c @@ -421,6 +421,14 @@ void rofi_theme_convert_old_theme ( void ) p->name = g_strdup("spacing"); p->value.i = config.padding; g_hash_table_replace ( listview_widget->properties, p->name, p ); + p = rofi_theme_property_create ( P_INTEGER ); + p->name = g_strdup("columns"); + p->value.i = config.padding; + g_hash_table_replace ( listview_widget->properties, p->name, p ); + p = rofi_theme_property_create ( P_INTEGER ); + p->name = g_strdup("fixed-height"); + p->value.i = !(config.fixed_num_lines); + g_hash_table_replace ( listview_widget->properties, p->name, p ); } { // Border width. |