diff --git a/doc/rofi-theme-manpage.markdown b/doc/rofi-theme-manpage.markdown index 27bec018..7faf9cb6 100644 --- a/doc/rofi-theme-manpage.markdown +++ b/doc/rofi-theme-manpage.markdown @@ -287,7 +287,7 @@ text: SeaGreen; ## Text style -* Format: `(bold|italic|underline|none)` +* Format: `(bold|italic|underline|strikethrough|none)` Text style indicates how the text should be displayed. None indicates no style should be applied. diff --git a/doc/rofi-theme.5 b/doc/rofi-theme.5 index a13702a6..d698656a 100644 --- a/doc/rofi-theme.5 +++ b/doc/rofi-theme.5 @@ -438,7 +438,7 @@ text: SeaGreen; .SH "Text style" . .IP "\(bu" 4 -Format: \fB(bold|italic|underline|none)\fR +Format: \fB(bold|italic|underline|strikethrough|none)\fR . .IP "" 0 . diff --git a/test/theme-parser-test.c b/test/theme-parser-test.c index 713f8726..2dbd8312 100644 --- a/test/theme-parser-test.c +++ b/test/theme-parser-test.c @@ -567,7 +567,7 @@ START_TEST ( test_properties_color_rgba_percent_p ) widget wid; wid.name = "blaat"; wid.state = NULL; - rofi_theme_parse_string ( "* { red: rgba(100%,0%,0%,30%); green: rgba(0%,100%,0%,20%); blue: rgba(0%,0%,100%,70.0%); }"); + rofi_theme_parse_string ( "* { red: rgba(100%,0%,0%,30%); green: rgba(0%,100%,0%,20%); blue: rgba(0% 0% 100%/70.0%); }"); ThemeWidget *twid = rofi_theme_find_widget ( wid.name, wid.state, FALSE ); Property *p = rofi_theme_find_property ( twid, P_COLOR, "red", FALSE ); ck_assert_ptr_nonnull ( p ); @@ -618,7 +618,7 @@ START_TEST ( test_properties_color_rgba ) widget wid; wid.name = "blaat"; wid.state = NULL; - rofi_theme_parse_string ( "* { red: rgba(255,0,0,0.3); green: rgba(0,255,0,0.2); blue: rgba(0,0,255,0.7); }"); + rofi_theme_parse_string ( "* { red: rgba(255,0,0,0.3); green: rgba(0,255,0,0.2); blue: rgba(0 0 255 /0.7); }"); ThemeWidget *twid = rofi_theme_find_widget ( wid.name, wid.state, FALSE ); Property *p = rofi_theme_find_property ( twid, P_COLOR, "red", FALSE ); ck_assert_ptr_nonnull ( p );