diff options
author | Daniel Carl <danielcarl@gmx.de> | 2012-11-25 14:28:34 +0100 |
---|---|---|
committer | Daniel Carl <danielcarl@gmx.de> | 2012-11-25 14:28:34 +0100 |
commit | 89e8f7fd53f1305b0ac36b619a9ef40ed0538bf3 (patch) | |
tree | 7c4e7b5efcc85b414a2a8c79b35736c1d628b5ea | |
parent | 024f0ddcdf12830ded443f20cebbf6f388aa3245 (diff) |
Apply the input style settings if they where set.
Before this patch it was possible that the input box uses another font with
other line height. If the first text is type in the input box this changes
it's size. Now the fonts and colors will be applied to it immediately.
-rw-r--r-- | src/setting.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/setting.c b/src/setting.c index 8540dd1..9e51c7c 100644 --- a/src/setting.c +++ b/src/setting.c @@ -248,6 +248,8 @@ static gboolean setting_input_style(const Setting* s) } style->input_font[type] = pango_font_description_from_string(s->arg.s); } + /* echo already visible input text to apply the new style to input box */ + vp_echo(VP_MSG_NORMAL, FALSE, GET_TEXT()); return TRUE; } |