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

Try to match line-padding in theme converter.

This commit is contained in:
Dave Davenport 2017-09-04 22:46:50 +02:00
parent 651bf11e3b
commit 2b8179b684

View file

@ -788,6 +788,11 @@ void rofi_theme_convert_old ( void )
char *str = g_strdup_printf ( "#window.mainbox.listview.element { padding: %dpx;}", config.line_padding ); char *str = g_strdup_printf ( "#window.mainbox.listview.element { padding: %dpx;}", config.line_padding );
rofi_theme_parse_string ( str ); rofi_theme_parse_string ( str );
g_free ( str ); g_free ( str );
// inputbar
str = g_strdup_printf ( "#window.mainbox.inputbar { padding: %dpx;}\n"\
"#window.mainbox.inputbar.box { padding: 0px; }", config.line_padding );
rofi_theme_parse_string ( str );
g_free ( str );
} }
if ( config.hide_scrollbar ) { if ( config.hide_scrollbar ) {
const char *str = "#window.mainbox.listview.box { scrollbar: false; }"; const char *str = "#window.mainbox.listview.box { scrollbar: false; }";